How to ignore hidden Product fields price for TOTAL price field?

Hi, I have Product fields with price which are hidden or not according to logical conditions. The price of the hidden fields are still calculated in the TOTAL field. How to make so that the hidden fields are not considered in the calculation of the TOTAL field?

Please open a support ticket and include an export of your form to allow us check your form setup.

Hi Luc, thank you for contacting Gravity Forms support. This is an automated message to acknowledge that we have received your inquiry (#393458).