Minimun quantity per product

  • Posts: 31
  • Thank you received: 1
  • Hikashop Business
1 week 4 days ago #367383

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



Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83935
  • Thank you received: 13591
  • MODERATOR
1 week 4 days ago #367391

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:

$increment = 1;
before the line:
if($min_quantity == $max_quantity)
in both. That way, the increment will be forced to 1 regardless of the minimum quantity.

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum