Maximum Quantity Per Order

  • Posts: 241
  • Thank you received: 5
11 years 1 week ago #129437

We sell event tickets. We can only allow one user (login) to purchase one ticket per event. The "Maximum quantity per order" works when the user is trying to buy the EXACT same variant with the EXACT same options, however if the user changes variants or options, the system allows them to buy more than one ticket.

This creates a issue because then we don't know who the other tickets belong to.

Screenshot of what is going on below:


Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 1 week ago #129473

Hi,

The solution will probably be to :
- Manage every variant that you product have through the "Manage Variants" button (in you product configuration page)
- Unset the Minimum quantity per order option of all your product variants
- Set the Minimum quantity per order option of your product.

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

  • Posts: 241
  • Thank you received: 5
11 years 1 week ago #129550

I assume you mean unset the "maximum quantity per order" for the variants?

I have tried both. Setting Maximum to "unlimited" and "1"

The issue persists with either. I have minimum set to 0 and 1 with the same result. I like to have variant maximum set to "1" because it solves the issue raised in this post below (off topic but related):

www.hikashop.com/forum/3-bug-report/8624...roduct-attached.html

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

  • Posts: 12953
  • Thank you received: 1778
11 years 1 week ago #129555

Ok, so can you download the last Hikashop version through our website, install it and test it again ?

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

  • Posts: 241
  • Thank you received: 5
11 years 1 week ago #130034

Downloaded onto our development site. Issue / problem still persists.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 week ago #130072

Hi,

Actually the restriction is only applied on the variants, to limit on the products you will have to make a plugin to manage that.
This plugin must check if the product has a parent_product_id, check if the products already in cart don't have the same parent id or are the product with that id.

I have added in our TODO list to add an option which will allow to manage the quantity on the product with variants.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum