News:

Looking for documentation? Take a look on our wiki

Main Menu

Minimum Order Quantity , and Quantity Box

Started by PRO, November 04, 2011, 15:57:13 PM

Previous topic - Next topic

PRO

if an item has a minimum order quantity of 5. The quantity box should start at 5.

Changing this
<input type="text" class="quantity-input" name="quantity[]" value="1" />

to this
<input type="text" class="quantity-input" name="quantity[]" value="<?php echo $this->product->min_order_level ?>" />

Will make it default to the minimum order. BUT. the user can still change the number down.


Cleanshooter

We can put this in but your right I don't think that it solves the issue.
We might need to also change the options so that the minimum selectable option is the minimum...

Does this get checked when you go through checkout?
- Cleanshooter

PRO

If the minimum is 5, and they click add 3 to cart. The pop up alert comes up saying "Minimum is XXX ". Which is good.

IF, they add the minimum to the cart. THEN, go back to the product. They might want to add a couple more. They do not have a problem adding more to the cart. WHICH is good.


SO, changes might add more problems in case they want to add an additional 1 item, when they already have met the minimum.


Cleanshooter

- Cleanshooter

PRO