Skip to content

Commit 9461266

Browse files
authored
gspc-remove-price-from-addon-display.php: Fixed a typo with the snippet.
1 parent 01c2bb7 commit 9461266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gs-product-configurator/gspc-remove-price-from-addon-display.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* First Choice × 2
1818
*/
1919
add_filter( 'gspc_show_addon_price', function( $show, $product_field ) {
20-
if ( strpos( $field->cssClass, 'gspc-remove-price' ) !== false ) {
20+
if ( strpos( $product_field->cssClass, 'gspc-remove-price' ) !== false ) {
2121
return false;
2222
}
2323

0 commit comments

Comments
 (0)