Skip to content

Commit 3705c5f

Browse files
authored
gspc-remove-wc-product-from-entry-order-summary.php: Fixed snippet removes only product name from order summary but retains product price and quantity.
1 parent d4f02fb commit 3705c5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gs-product-configurator/gspc-remove-wc-product-from-entry-order-summary.php

+1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@
99
if ( is_callable( 'gs_product_configurator' ) ) {
1010
remove_filter( 'gppa_ajax_form_pre_render', array( gs_product_configurator()->wc_product_form_display, 'inject_base_price_product_field_gppa_ajax' ) );
1111
remove_filter( 'gform_product_info', array( gs_product_configurator()->wc_product_form_display, 'inject_base_price_into_product_info' ) );
12+
remove_filter( 'gform_pre_render', array( gs_product_configurator()->wc_product_form_display, 'inject_base_price_product_field' ), 5 );
1213
}
1314
}, 16 );

0 commit comments

Comments
 (0)