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?