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

#   Item qty calculation based on multiple items

##

- **[matrix](/forum/user/30418-matrix "View matrix's Profile")**
- [![matrix's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30418-matrix "View matrix's Profile") Topic Author
- [ Offline](/forum/user/30418-matrix)

Less More

- Posts: 13
- Thank you received: 1
-
-

12 years 7 months ago [\#148681](#148681) by [matrix](/forum/user/30418-matrix "View matrix's Profile")  *[Item qty calculation based on multiple items](/forum/25-install-update/866723-item-qty-calculation-based-on-multiple-items#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?")* was created by *[matrix](/forum/user/30418-matrix "View matrix's Profile")*

-- 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](http://www.hikashop.com/forum/4-how-to/43401-add-multiple-items-to-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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjcyMy1pdGVtLXF0eS1jYWxjdWxhdGlvbi1iYXNlZC1vbi1tdWx0aXBsZS1pdGVtcz90bXBsPW1hcmtkb3du) 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 7 months ago [\#148699](#148699) 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 *[Item qty calculation based on multiple items](/forum/25-install-update/866723-item-qty-calculation-based-on-multiple-items#148699 "-- 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?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2NjcyMy1pdGVtLXF0eS1jYWxjdWxhdGlvbi1iYXNlZC1vbi1tdWx0aXBsZS1pdGVtcz90bXBsPW1hcmtkb3du) 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.093 seconds

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

[](#top)
