[Skip to main content](#vessel-content)

#   Minimum Order can be adjusted in Cart

##

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago -  15 years 6 months ago [\#15620](#15620) by [didero](/forum/user/1276-didero "View didero's Profile")  *[Minimum Order can be adjusted in Cart](/forum/3-bug-report/15620-minimum-order-can-be-adjusted-in-cart#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:")* was created by *[didero](/forum/user/1276-didero "View didero's Profile")*

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)[ www.broodjes2day.nl/index.php/online-bes...iment-bestellen.html](http://www.broodjes2day.nl/index.php/online-bestellen/online-lunch-vergader-assortiment-bestellen.html) [ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/screenprint.jpg) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/screenprint.jpg "&#91;img")

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

- [ ![screenprint.jpg](/forum/attachment/1054) ](/forum/attachment/1054 "screenprint.jpg") [ ](/forum/attachment/1054?download=1 "screenprint.jpg")

Last edit: 15 years 6 months ago by [didero](/forum/user/1276-didero "View didero's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTYyMC1taW5pbXVtLW9yZGVyLWNhbi1iZS1hZGp1c3RlZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14305
-
-

15 years 6 months ago [\#15629](#15629) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Minimum Order can be adjusted in Cart](/forum/3-bug-report/15620-minimum-order-can-be-adjusted-in-cart#15629 "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:")*

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

before the line:
if($product-&gt;product_max_per_order&gt;0 &amp;&amp; $product-&gt;product_max_per_order&lt;$quantity) $quantity = $product-&gt;product_max_per_order;

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTYyMC1taW5pbXVtLW9yZGVyLWNhbi1iZS1hZGp1c3RlZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[didero](/forum/user/1276-didero "View didero's Profile")**
- [![didero's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1276.jpg)](/forum/user/1276-didero "View didero's Profile") Topic Author
- [ Offline](/forum/user/1276-didero)

Less More

- Posts: 66
- Thank you received: 3
-
-
-
- [](http://www.1968dewinkel.nl)
-

15 years 6 months ago [\#15632](#15632) by [didero](/forum/user/1276-didero "View didero's Profile")  Replied by *[didero](/forum/user/1276-didero "View didero's Profile")* on topic *[Re: Minimum Order can be adjusted in Cart](/forum/3-bug-report/15620-minimum-order-can-be-adjusted-in-cart#15632 "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:")*

Thank you so much. That works!

---

[ ](http://www.didero.nl)[ www.didero.nl](http://www.didero.nl)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNTYyMC1taW5pbXVtLW9yZGVyLWNhbi1iZS1hZGp1c3RlZC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
