Skip to main content
Question

Clear current price calculation by multiplying price by zero is not working

  • 7 September 2024
  • 1 reply
  • 7 views

I have a registration form that adds different variable amounts to the price variable based on what classes are selected.

I want to offer a promo code that allows them to try out a class for a lower amount. I currently have it where they choose Class 1 and the Class1 variable is added to price. If a trial promo code is entered, price is multiplied by 0 (with the goal being to wipe the price clean to 0). Then in a followup question, the trial class variable is added to price.

But in testing it is just adding it all together...the regular price and the trial price. As if the multiply by 0 is not even there. What am I missing? 

1 reply

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14604 replies
  • September 9, 2024

Hi @syd_edw_dunn Would you mind sending a few screenshots of how you have the calculations and any logic setup? Thanks in advance!


Reply