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

#   Controlling / Restricting Quantity Ordered

##

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

Less More

- Posts: 113
- Thank you received: 18
-
-

12 years 9 months ago [\#138555](#138555) by [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")  *[Controlling / Restricting Quantity Ordered](/forum/2-general-talk-about-hikashop/864723-controlling-restricting-quantity-ordered#138555 "-- url of the page with the problem -- : Not Applicable -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.11 -- PHP version -- : 5.4.22 -- Browser(s) name and version -- : Not Applicable -- Error-message(debug-mod must be tuned on) -- : Not Applicable  We want to sell printed products that are only available in specific quantities from our supplier, but I don't see an easy way to control or restrict the quantity / increments a customer can choose.  Ideally, I envision a combo box presenting valid order quantities, such as: 250 500 1000 2500 5000  ...the standard &quot;+&quot; and &quot;-&quot; buttons would not be presented when only specific quantities are valid.  I found a post where it appears the intended functionality could be implemented with considerable modification:   www.hikashop.com/forum/4-how-to/82422-qu...vascript.html#105072  However, I wouldn't want to modify core code and potentially have to modify with each release of Hikashop.  We considered adding duplicate products with the quantity being a package price. In this scenario, instead of ordering 250, the customer would order quantity 1 of &quot;package of 250&quot;. But even that wouldn't work as there are increments our supplier doesn't offer. Using the same scenario, we could not present &quot;package of 1,000&quot; because the customer might order 2 packages, and the total quantity of 2,000 isn't offered by our supplier.  Is there any chance this type of functionality / control may be implemented in Hikashop at some point?")* was created by *[csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")*

-- url of the page with the problem -- : Not Applicable
-- HikaShop version -- : 2.3.0
-- Joomla version -- : 2.5.11
-- PHP version -- : 5.4.22
-- Browser(s) name and version -- : Not Applicable
-- Error-message(debug-mod must be tuned on) -- : Not Applicable

We want to sell printed products that are only available in specific quantities from our supplier, but I don't see an easy way to control or restrict the quantity / increments a customer can choose.

Ideally, I envision a combo box presenting valid order quantities, such as:
250
500
1000
2500
5000

...the standard "+" and "-" buttons would not be presented when only specific quantities are valid.

I found a post where it appears the intended functionality could be implemented with considerable modification:
[ www.hikashop.com/forum/4-how-to/82422-qu...vascript.html#105072](http://www.hikashop.com/forum/4-how-to/82422-quantity-drop-down-being-changed-by-javascript.html#105072)

However, I wouldn't want to modify core code and potentially have to modify with each release of Hikashop.

We considered adding duplicate products with the quantity being a package price. In this scenario, instead of ordering 250, the customer would order quantity 1 of "package of 250". But even that wouldn't work as there are increments our supplier doesn't offer. Using the same scenario, we could not present "package of 1,000" because the customer might order 2 packages, and the total quantity of 2,000 isn't offered by our supplier.

Is there any chance this type of functionality / control may be implemented in Hikashop at some point?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NDcyMy1jb250cm9sbGluZy1yZXN0cmljdGluZy1xdWFudGl0eS1vcmRlcmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

12 years 9 months ago [\#138645](#138645) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Controlling / Restricting Quantity Ordered](/forum/2-general-talk-about-hikashop/864723-controlling-restricting-quantity-ordered#138645 "-- url of the page with the problem -- : Not Applicable -- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.11 -- PHP version -- : 5.4.22 -- Browser(s) name and version -- : Not Applicable -- Error-message(debug-mod must be tuned on) -- : Not Applicable  We want to sell printed products that are only available in specific quantities from our supplier, but I don't see an easy way to control or restrict the quantity / increments a customer can choose.  Ideally, I envision a combo box presenting valid order quantities, such as: 250 500 1000 2500 5000  ...the standard &quot;+&quot; and &quot;-&quot; buttons would not be presented when only specific quantities are valid.  I found a post where it appears the intended functionality could be implemented with considerable modification:   www.hikashop.com/forum/4-how-to/82422-qu...vascript.html#105072  However, I wouldn't want to modify core code and potentially have to modify with each release of Hikashop.  We considered adding duplicate products with the quantity being a package price. In this scenario, instead of ordering 250, the customer would order quantity 1 of &quot;package of 250&quot;. But even that wouldn't work as there are increments our supplier doesn't offer. Using the same scenario, we could not present &quot;package of 1,000&quot; because the customer might order 2 packages, and the total quantity of 2,000 isn't offered by our supplier.  Is there any chance this type of functionality / control may be implemented in Hikashop at some point?")*

Hi,

You have two options to do that with Hikashop without any core modification.

1. You create a characteristic for the quantity selection and turn off the display of the quantity field with the corresponding option of the configuration.

2. You can develop a small quantity box template override ( there is some documentation on that here: [ www.hikashop.com/support/documentation/6...r-documentation.html](http://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html) ) :
[ www.hikashop.com/forum/4-how-to/15254-re...uantity-ordered.html](http://www.hikashop.com/forum/4-how-to/15254-restricting-quantity-ordered.html)

The following user(s) said Thank You: [csymmonds](/forum/user/9149-csymmonds "View csymmonds's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2NDcyMy1jb250cm9sbGluZy1yZXN0cmljdGluZy1xdWFudGl0eS1vcmRlcmVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.089 seconds

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