Minimum Order can be adjusted in Cart

  • Posts: 66
  • Thank you received: 3
13 years 6 months ago #15620

I have a category of products where the minimum order number of each item is 5.
But in the Minicart as well as the Checkout page the number of items can be set under that minimum. Am I missing something or doing something wrong?

Example is here:
http://www.broodjes2day.nl/index.php/online-bestellen/online-lunch-vergader-assortiment-bestellen.html

Attachments:
Last edit: 13 years 6 months ago by didero.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 6 months ago #15629

Could you try to add the line:
if($product->product_min_per_order>0 && $product->product_min_per_order>$quantity) $quantity = $product->product_min_per_order;

before the line:
if($product->product_max_per_order>0 && $product->product_max_per_order<$quantity) $quantity = $product->product_max_per_order;

in the file administrator/components/com_hikashop/classes/cart.php and try again ?

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

  • Posts: 66
  • Thank you received: 3
13 years 6 months ago #15632

Thank you so much. That works!

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

Time to create page: 0.048 seconds
Powered by Kunena Forum