#got a bug with the price

5 messages · Page 1 of 1 (latest)

reef gazelle
#

wanna block the buy button when the cart price is over 1000 euro but got a bug were i can buy 1000 of each product and if i go to cart and back it is blocked

#

and when i go back it is blocked but want it to do it without switching tabs

#

so it needs to update when the products get added

unreal vault
#

What are you using to set the price, a signal? What does the code look like that disables the button? Could you reproduce this in a stackblitz and share?