This is a Pro feature.
Don’t have the Pro version yet? Purchase it Here
Don’t have the Pro version yet? Purchase it Here
What is it?
When displaying product fields in the summary, it will display those with a quantity and a price. In certain cases you may want to hide the quantity or price. This can be easily accomplished by adding a little bit of CSS
ATTENTION!
This article is about the normal layout. If you want to hide columns in the Grouped Product table then please refer to the following article instead: https://geekontheroad.com/documentation/live-summary-for-gravity-forms/hooks/gotrls_default_grouped_columns
This article is about the normal layout. If you want to hide columns in the Grouped Product table then please refer to the following article instead: https://geekontheroad.com/documentation/live-summary-for-gravity-forms/hooks/gotrls_default_grouped_columns
Hiding Price
/**
* Example 1 The below code will hide the price for all products in all forms
**/
.gotrgf_price_unit .gotrls_product_price {
display: none !important;
}
/**
* Example 2: The below code will hide the price for field with ID 2 in form 1
* Change the gsline_1_2 to match your form and field
**/
#gsline_1_2 .gotrgf_price_unit .gotrls_product_price {
display: none !important;
}
/**
* Example 3: The below code will hide the price for all fields in form 1
* Change the _1 to your form ID
**/
#gotrgf_form_overview_container_1 .gotrgf_price_unit .gotrls_product_price {
display: none !important;
}
Hiding quantity and multiplier
/**
* Example 1 The below code will hide the quantity and multiplier for all product in all forms
**/
.gotrgf_price_unit .gotrls_product_quantity,
.gotrgf_price_unit .gotrls_product_multiplier {
display: none !important;
}
/**
* Example 2: The below code will hide the quantity and multiplier for field with ID 2 in form 1
* Change the gsline_1_2 to match your form and field
**/
#gsline_1_2 .gotrgf_price_unit .gotrls_product_quantity,
#gsline_1_2 .gotrgf_price_unit .gotrls_product_multiplier {
display: none !important;
}
/**
* Example 3: The below code will hide the quantity and multiplier for all fields in form 1
* Change the _1 to your form ID
**/
#gotrgf_form_overview_container_1 .gotrgf_price_unit .gotrls_product_quantity,
#gotrgf_form_overview_container_1 .gotrgf_price_unit .gotrls_product_multiplier {
display: none !important;
}
Hiding quantity, multiplier and price
/**
* Example 1 The below code will hide the quantity, multiplier and price for all product in all forms
**/
.gotrgf_price_unit .gotrls_product_quantity,
.gotrgf_price_unit .gotrls_product_multiplier,
.gotrgf_price_unit .gotrls_product_price {
display: none !important;
}
/**
* Example 2: The below code will hide the quantity, multiplier and price for field with ID 2 in form 1
* Change the gsline_1_2 to match your form and field
**/
#gsline_1_2 .gotrgf_price_unit .gotrls_product_quantity,
#gsline_1_2 .gotrgf_price_unit .gotrls_product_multiplier,
#gsline_1_2 .gotrgf_price_unit .gotrls_product_price {
display: none !important;
}
/**
* Example 3: The below code will hide the quantity, multiplier and price for all fields in form 1
* Change the _1 to your form ID
**/
#gotrgf_form_overview_container_1 .gotrgf_price_unit .gotrls_product_quantity,
#gotrgf_form_overview_container_1 .gotrgf_price_unit .gotrls_product_multiplier,
#gotrgf_form_overview_container_1 .gotrgf_price_unit .gotrls_product_price {
display: none !important;
}