Php mysql js

If the piece is greater than available qty it pops up an error message which is shown in the picture but if I order 1000 pieces which is greater than available qty it will get the total

P.S. the product, price, and avail qty are coming from database

See picture below also

We can’t help you from a pair of pictures; you need to show us the code that’s causing a problem.

My bad… Sorry

Post the actual code, not a picture of it.

Sponsor our Newsletter | Privacy Policy | Terms of Service