I am trying out something with the quantity input box(beside Add to Cart) on the product page and now stuck with a problem. I want to set a minimum order for products from the BO, already set up the things there and its working. Let say for example i have set 3 as a minimum number of order on a certain product at the BO.
Now the quantity input box is calling $min_order set from the BO.
Code: Select all
<input type="text" name="quantity" value="<?php echo $min_order; ?>" onchange=" -?- "/>
I know what i need is to call a function to validate it. But too bad my php/javascript is not yet that good.
Can somebody please help me?
Thank you.