Bugs & Feature Requests
Gateways, Merchant Accounts, Bank Accounts, Oh My!
The Foxy forums are on the move!
We're in the process of
moving our forums over to a new system
, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to
reach out to us via email
How to avoid cart with 0.00 value
My cart price is updated trough a script. I have noticed, that sometimes the script takes some time to loads, and because of that is possible to get a product for 0.00. Can this be avoided?
It would be enough just not alow the cart to have a product that costs 0.00 price
Without seeing your code, my general suggestion would be to start with a product price of > 0.00, then use your script to adjust it down. Alternately, prevent submit of your product until your script is loaded. (So make the form's submit button disabled or hidden in the html (or replace the button text with "Loading…"), then enable it via the script.)
That make sense?
Price of > 0.00 did the trick.