Skip to main content

Hello community!


I just want your help with this prototype using variables.



  • The prototype is, that I can select multiple tiles/boxes, and the number of items in the “Add to Cart” button will increase by 1.

  • The button will only appear when I click/add items.

    (These all work perfectly fine)


However, the problem occurs here:



  • When I unclick an item, the button disappears, which should not happen. It should only disappear when ProductCount reaches 0.

  • The button should stay and only subtract the value until it reaches 0 then disappears.


And this is where I’m having a problem:


I don’t know what I’m doing wrong. I’m still learning variables and prototypes. Would love to learn more about this. Thank you!

Be the first to reply!

Reply