Hi All,
I’m stuck on this one. I am willing to completely change how I do this but this is where I am at right now:
- I have a simple counter which keeps track of how many ounces are added to the cart (for shipping)
- each item in the catalog has a different weight, normalized to ounces so it can always be added to the counter as is
- on the catalog screen, hit the “Add” button, what I want to happen is: 1) does this item cause the cart to exceed the max weight? 2) if yes: alert the user and don’t add the product to the cart, if no: add the product to the cart as usual … I can’t seem to execute the IF statement AFTER the counter is added to…any suggestions?
- note: I thought about triggering off the counter itself however I need the product info to add to cart which is all attached to the item in the asset grid, all pulled from an interface asset of course.