Controlling / Restricting Quantity Ordered

  • Posts: 113
  • Thank you received: 18
10 years 9 months ago #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 "+" 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

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 or Create an account to join the conversation.

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 9 months ago #138645

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 ) :
www.hikashop.com/forum/4-how-to/15254-re...uantity-ordered.html

The following user(s) said Thank You: csymmonds

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

Time to create page: 0.054 seconds
Powered by Kunena Forum