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

#   Order multiples

##

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

Less More

- Posts: 23
- Thank you received: 2
-
-

13 years 12 hours ago [\#130171](#130171) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  *[Order multiples](/forum/35-orders-management/863231-order-multiples#130171 "Hi. Need some advice.  I have a client who operates a winery and requires that orders be in multiples of 3 bottles.  So, what they want is to only accept orders that are for 3, 6, 9, 12, 15, 18, 21.... etc bottles.  Can this be achieved in any of the hikashop products?")* was created by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")*

Hi. Need some advice.

I have a client who operates a winery and requires that orders be in multiples of 3 bottles.

So, what they want is to only accept orders that are for 3, 6, 9, 12, 15, 18, 21.... etc bottles.

Can this be achieved in any of the hikashop products?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2MzIzMS1vcmRlci1tdWx0aXBsZXM/dG1wbD1tYXJrZG93bg==) 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
-
-
-

13 years 9 hours ago [\#130186](#130186) 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 *[Order multiples](/forum/35-orders-management/863231-order-multiples#130186 "Hi. Need some advice.  I have a client who operates a winery and requires that orders be in multiples of 3 bottles.  So, what they want is to only accept orders that are for 3, 6, 9, 12, 15, 18, 21.... etc bottles.  Can this be achieved in any of the hikashop products?")*

Hi,
The solution will just be to sell your products per pair of 3 bottles, so your customer will be able to purchase a quantity of 1,2,3... pair of 3 bottles.

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

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

Less More

- Posts: 23
- Thank you received: 2
-
-

12 years 11 months ago [\#130338](#130338) by [elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")  Replied by *[elucidbusiness](/forum/user/8174-elucidbusiness "View elucidbusiness's Profile")* on topic *[Order multiples](/forum/35-orders-management/863231-order-multiples#130338 "Hi. Need some advice.  I have a client who operates a winery and requires that orders be in multiples of 3 bottles.  So, what they want is to only accept orders that are for 3, 6, 9, 12, 15, 18, 21.... etc bottles.  Can this be achieved in any of the hikashop products?")*

Thanks Mohamed. However, a shopper may not want to buy 3 bottles of one variety of wine - they might want a mixture and that mixture needs to be of a multiple of 3.

Any other thoughts?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2MzIzMS1vcmRlci1tdWx0aXBsZXM/dG1wbD1tYXJrZG93bg==) 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 11 months ago [\#130397](#130397) 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 *[Order multiples](/forum/35-orders-management/863231-order-multiples#130397 "Hi. Need some advice.  I have a client who operates a winery and requires that orders be in multiples of 3 bottles.  So, what they want is to only accept orders that are for 3, 6, 9, 12, 15, 18, 21.... etc bottles.  Can this be achieved in any of the hikashop products?")*

Ok, so like it's said on the [ developer documentation](http://www.hikashop.com/support/62-hikashop-developer-documentation.html#override) (some development skill will be required) :

> **For the quantity input:**
> You need to create the file templates/YOUR\_TEMPLATE/html/hikashop\_button.php. We invite you to look at the file administrator/components/com\_hikashop/helpers/cart.php for the default code of the function you will define in it. In that file, you will be able to define the function:
> hikashop\_quantity\_render($html,$i,$max\_quantity,$min\_quantity) =&gt; The $html variable will contain the HTML of the "add to cart" button, the $i variable will contain a unique int which will be different for each quantity input on the page, the $max\_quantity and $min\_quantity will contain the min and max quantity possible for the product. You need to return the whole HTML at the end of your function.
> Also, please note that it only works if the option for "Display the quantity field on the product page" is set to "Ajax Input" in the configuration of HikaShop.

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

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

[](#top)
