Change of price of the button will buy

I am currently working on the possibility of offering a price depending on the user has a discount code or not. What happens to me is that in the variables of the buy button I cannot add the price conditioned by whether it has a discount or not. This condition is carried out by means of an if then else and at the moment of selecting the price variable of the button I can only select fixed variables. Attached video, although it is in Spanish, it can still be understood.

Have you encountered this problem? How have they solved it?

The built in Stripe Buy Button cannot use computed glide columns. You either need to do the calculations in a google sheet, or have multiple basic columns with different prices, and then show different buy buttons with visibility based on if a discount applies or not.

1 Like