gspc_show_addon_price
Description
Filter whether the addon price should be displayed in the cart and order details.
Usage
Filter whether the addon price should be displayed in the cart and order details for all forms and fields.
add_filter( 'gspc_show_addon_price', '__return_true' );
Filter whether the addon price should be displayed in the cart and order details for a specific form.
add_filter( 'gspc_show_addon_price_FORMID', '__return_true' );
Filter whether the addon price should be displayed in the cart and order details for a specific field.
add_filter( 'gspc_show_addon_price_FORMID_FIELDID', '__return_true' );
Parameters
show_price bool
Whether the addon price should be displayed.
product_field \GF_Field_Product
The product field.
entry \GFEntry
The current entry.
form \GFForm
The current form.
Since
This filter is available since Gravity Shop Product Configurator 1.0-beta-1.5.