- Posts: 13
- Thank you received: 1
Item qty calculation based on multiple items
12 years 6 months ago #148681
by matrix
Item qty calculation based on multiple items was created by matrix
-- 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?
-- 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.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 6 months ago #148699
by Mohamed Thelji
Replied by Mohamed Thelji on topic Item qty calculation based on multiple items
Hi,
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.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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds