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

#   minimum number of units per package

##

- **[duke60](/forum/user/30814-duke60 "View duke60's Profile")**
- [![duke60's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30814-duke60 "View duke60's Profile") Topic Author
- [ Offline](/forum/user/30814-duke60)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 4 months ago [\#157868](#157868) by [duke60](/forum/user/30814-duke60 "View duke60's Profile")  *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#157868 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")* was created by *[duke60](/forum/user/30814-duke60 "View duke60's Profile")*

I have try to find a solution to my question in the documentation but without success.

It is possible set-up a product in Hika Shom with a minimum number of units per package.
For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6.
Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible.
One solution can be make a product of 6 bottle and I will do this if there is no other solution.
For this test I am using Hikashop Essential but for the production I will use the Business version

Thanks for a replay

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#158017](#158017) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#158017 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")*

Hi,

Yes it's possible, we added a dropdown selector for the products in HikaShop. In the product option, or category or main configuration, for the option "Quantity layout on product page" you can select "Show select" to have a dropdown selector, then in "Minimum quantity per order" set the value to "6".

This way, the customers will only be able to select quantities incremented by 6.

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

- **[frenciaj](/forum/user/32838-frenciaj "View frenciaj's Profile")**
- [![frenciaj's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32838-frenciaj "View frenciaj's Profile")
- [ Offline](/forum/user/32838-frenciaj)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 4 months ago [\#158091](#158091) by [frenciaj](/forum/user/32838-frenciaj "View frenciaj's Profile")  Replied by *[frenciaj](/forum/user/32838-frenciaj "View frenciaj's Profile")* on topic *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#158091 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")*

will this work on the starter version? cause i dont seem to find that option... or can you walk me through it?

thanks

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

- **[duke60](/forum/user/30814-duke60 "View duke60's Profile")**
- [![duke60's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30814-duke60 "View duke60's Profile") Topic Author
- [ Offline](/forum/user/30814-duke60)

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 4 months ago [\#158128](#158128) by [duke60](/forum/user/30814-duke60 "View duke60's Profile")  Replied by *[duke60](/forum/user/30814-duke60 "View duke60's Profile")* on topic *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#158128 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")*

Hi
Thanks for your replay I understand to set up in the produc the Minimum quantity per order in the products
The set up of the "Quantity layout on product page" it is in the global configuration?
I have set up the italian version and the namo of the field translated it is "Mostra il campo di quantità nella pagina prodotto" show the field quantity in the product page. if it is this field I didn't understnad the choise that IO have to do.

Recards

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 4 months ago [\#158108](#158108) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#158108 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")*

Yes, You'll find the "Quantity layout on product page" option through "Hikashop-&gt;System-&gt;Configuration-&gt;Display" and the "Minimum quantity per order" option through your product configuration page.

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

- **[upedown](/forum/user/32003-upedown "View upedown's Profile")**
- [![upedown's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32003-upedown "View upedown's Profile")
- [ Offline](/forum/user/32003-upedown)

Less More

- Posts: 34
- Thank you received: 0
-
-

12 years 4 months ago [\#160987](#160987) by [upedown](/forum/user/32003-upedown "View upedown's Profile")  Replied by *[upedown](/forum/user/32003-upedown "View upedown's Profile")* on topic *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#160987 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")*

Good evening! It's great that now we can choose a progressive multiple with this function but still have a question:

For some products I need simply to set a minimum quantity start, not multiple.

Example: minimum order for a product start from 100 so I can buy 100-101-102-103 ecc.

But now If I set up minimum order 100 is always a multiple of 100 for all the products!

How can we do?

Thank you in advance

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 4 months ago [\#160991](#160991) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[minimum number of units per package](/forum/2-general-talk-about-hikashop/868593-minimum-number-of-units-per-package#160991 "I have try to find a solution to my question in the documentation but without success.  It is possible set-up a product in Hika Shom with a minimum number of units per package. For example I have set up a product as a bottle of wine but I can deliver only package of 6 bottle Can I set up the product as one unit but the customer have to purchase 6 or multiple of 6. Because If I set up a minimum quantity of 6 the customer can purchase 7 of them and for my packaging system it is not possible. One solution can be make a product of 6 bottle and I will do this if there is no other solution. For this test I am using Hikashop Essential but for the production I will use the Business version  Thanks for a replay")*

Hi,

You can edit the view "product / show_quantity" and for the part "show_select" add checks on the product id, or category id in order to have one way or another one of increment.

The if / else must be around the code: Code:

for($j = $min_quantity; $j &lt;= $max_quantity; $j += $min_quantity){ echo '&lt;option value="'.$j.'"&gt;'.$j.'&lt;/option&gt;'; }

And to chand the increment, you have to edit the 3rd part of the "for" by: Code:

$j += 1

To have something like: Code:

$prodId = hikashop_getCID('product_id'); if($prodId == '1'){ for($j = $min_quantity; $j &lt;= $max_quantity; $j += 1){ echo '&lt;option value="'.$j.'"&gt;'.$j.'&lt;/option&gt;'; } }else{ for($j = $min_quantity; $j &lt;= $max_quantity; $j += $min_quantity){ echo '&lt;option value="'.$j.'"&gt;'.$j.'&lt;/option&gt;'; } }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2ODU5My1taW5pbXVtLW51bWJlci1vZi11bml0cy1wZXItcGFja2FnZT90bXBsPW1hcmtkb3du) 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.398 seconds

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

[](#top)
