- Posts: 31
- Thank you received: 1
Minimun quantity per product
1 year 5 months ago #367383
by cesco1701
Minimun quantity per product was created by cesco1701
Good morning, I have an issue with the minimum order quantity per product.
Within each product, I can set the minimum order quantity.
But if I enter a value, it becomes the multiplier.
If the minimum is 2, the next options are 4, 6, 8, etc.
If I set it to 3, the following choices are 6, 9, 12, etc.
What am I doing wrong?
Try choosing a tasting yourself on this page:
www.viniprovolo.com/shop/degustazioni.html
Within each product, I can set the minimum order quantity.
But if I enter a value, it becomes the multiplier.
If the minimum is 2, the next options are 4, 6, 8, etc.
If I set it to 3, the following choices are 6, 9, 12, etc.
What am I doing wrong?
Try choosing a tasting yourself on this page:
www.viniprovolo.com/shop/degustazioni.html
Please Log in or Create an account to join the conversation.
1 year 5 months ago #367391
by nicolas
Replied by nicolas on topic Minimun quantity per product
Hi,
That's normal. You've selected "show select" in the "input method" setting of the product. In that mode, the minimum quantity is used as both the starting quantity and the increment for filling the quantity selector dropdown.
A solution would be to change the input method to use an input field instead of a dropdown.
Another solution would be to edit the view files product / show_quantity and layouts / quantity via the menu Display>Views and add the line:
before the line:
in both. That way, the increment will be forced to 1 regardless of the minimum quantity.
That's normal. You've selected "show select" in the "input method" setting of the product. In that mode, the minimum quantity is used as both the starting quantity and the increment for filling the quantity selector dropdown.
A solution would be to change the input method to use an input field instead of a dropdown.
Another solution would be to edit the view files product / show_quantity and layouts / quantity via the menu Display>Views and add the line:
Code:
$increment = 1;
Code:
if($min_quantity == $max_quantity)
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds