Item qty calculation based on multiple items

  • Posts: 13
  • Thank you received: 1
10 years 8 months ago #148681

-- url of the page with the problem -- : dev-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5.18
-- PHP version -- : 5.4
-- Browser(s) name and version -- : Any
-- Error-message(debug-mod must be tuned on) -- : N/A

Is there a way to set up item stock calculation based on two items or variants?

The scenario I am trying to achieve is this:

One of the items in the shop is ticket sales. There are total of 120 seats. Adults seats cost 80$ and children seats cost 30$. There is no set number of adult or children seats, its a first come first book kinda thing. As long as there are seats remaining the user would be able to order, either children or adults.

The user should be able to select/add both products in the cart in one go (as mentioned in an older thread www.hikashop.com/forum/4-how-to/43401-ad...-basket-at-once.html ). The quantity calculation needs to take into account both the products.

I fiddled around with the options/characteristics etc but that doesnt seem to work. Options would work, if we could add counter to those, meaning the quantity of the options to be modified, that would work too.

As it stands, there doesn't seem to be (easy) way of doing this. Any experience with such scenarios?

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

  • Posts: 12953
  • Thank you received: 1778
10 years 8 months ago #148699

Hi,

I fiddled around with the options/characteristics etc but that doesnt seem to work. Options would work, if we could add counter to those, meaning the quantity of the options to be modified, that would work too.

If you want to add both products in the cart in one go, I don't think that you'll be able to do it without using options.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum