From f0ea10f04c1e732dde6db7447b20bb25742ea2fc Mon Sep 17 00:00:00 2001 From: Saif Sultan Date: Mon, 5 May 2025 16:01:20 +0530 Subject: [PATCH] `gspc-remove-price-from-addon-display.php`: Fixed a typo with the snippet. --- .../gspc-remove-price-from-addon-display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gs-product-configurator/gspc-remove-price-from-addon-display.php b/gs-product-configurator/gspc-remove-price-from-addon-display.php index 6c79bbfeb..b5d44bb91 100644 --- a/gs-product-configurator/gspc-remove-price-from-addon-display.php +++ b/gs-product-configurator/gspc-remove-price-from-addon-display.php @@ -17,7 +17,7 @@ * First Choice × 2 */ add_filter( 'gspc_show_addon_price', function( $show, $product_field ) { - if ( strpos( $field->cssClass, 'gspc-remove-price' ) !== false ) { + if ( strpos( $product_field->cssClass, 'gspc-remove-price' ) !== false ) { return false; }