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

#   Product Quantities

##

- **[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")**
- [![dagroupinc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar57629.jpg)](/forum/user/57629-dagroupinc "View dagroupinc's Profile") Topic Author
- [ Offline](/forum/user/57629-dagroupinc)

Less More

- Posts: 109
- Thank you received: 1
-
-

7 years 9 months ago -  7 years 9 months ago [\#303496](#303496) by [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")  *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303496 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")* was created by *[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")*

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.2

How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?

When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.

Last edit: 7 years 9 months ago by [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile"). Reason: Clarification

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 9 months ago [\#303513](#303513) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303513 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

Hi,

The product quantity is supposed to change along with the quantity of the variant.
And if you leave the quantity unlimited in the variants and set a quantity in the main product, then it's the main product quantity which is shared by all the variants.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")**
- [![dagroupinc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar57629.jpg)](/forum/user/57629-dagroupinc "View dagroupinc's Profile") Topic Author
- [ Offline](/forum/user/57629-dagroupinc)

Less More

- Posts: 109
- Thank you received: 1
-
-

7 years 9 months ago [\#303622](#303622) by [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")  Replied by *[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303622 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

We have quantities set up for each variant and we set the quantity of the main product to the total of all the variants for a product. While the quantity of the variant changes when an item is purchased, the quantity of the main product does not change.

So for example, if we have 5 variants with 2 items available for each we have 10 products. If we enter 10 into the main product quantity and then an item is purchased, the variant will show a change from 2 to 1, but the main product quantity remains 10 and does not change.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

7 years 9 months ago -  7 years 9 months ago [\#303665](#303665) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303665 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

Hello,

I think I get your point, if I follow you well in your mind product and variants quantities work like this :
Main product quantity: **10** (main product)
=&gt; in the details :
- **2** red (variant product)
- **2** blue (variant product)
- **2** yellow (variant product)
- **2** green (variant product)
- **2** orange (variant product)

I understand your idea but this not like this you have to set your quantity, see my scheme for the exact same product conditions :
- **2** red (main product)
- **2** blue (variant product)
- **2** yellow (variant product)
- **2** green (variant product)
- **2** orange (variant product)

Hope this will help you to move forward on your subject.
Regards

Last edit: 7 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")**
- [![dagroupinc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar57629.jpg)](/forum/user/57629-dagroupinc "View dagroupinc's Profile") Topic Author
- [ Offline](/forum/user/57629-dagroupinc)

Less More

- Posts: 109
- Thank you received: 1
-
-

7 years 9 months ago [\#303680](#303680) by [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")  Replied by *[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303680 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

So then the Main Product Quantity is not used for the product total? You show it as 2 when I would think it should be 10.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 9 months ago [\#303684](#303684) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303684 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

Hi,

I think Philippe didn't understood the subject of this topic well enough.

I actually just tested again on my end with the latest version of HikaShop and the quantity of the main product is updated when the quantity of the variant is updated after the order is confirmed. So I'm not sure why it wouldn't work like that on your end. Could you double check and make sure that you can reproduce the issue ?
I don't remember we fixed anything regarding that in HikaShop 4.0.2 so even with HikaShop 4.0.1, it should still work the same.
Maybe updating would help ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")**
- [![dagroupinc's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar57629.jpg)](/forum/user/57629-dagroupinc "View dagroupinc's Profile") Topic Author
- [ Offline](/forum/user/57629-dagroupinc)

Less More

- Posts: 109
- Thank you received: 1
-
-

7 years 9 months ago [\#303745](#303745) by [dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")  Replied by *[dagroupinc](/forum/user/57629-dagroupinc "View dagroupinc's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303745 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

We are running Hikashop v 4.0.2 and Joomla v3.9.2

I just tested it this morning and the problem still exists. For the product I tested, we have a total of 8 products across all the variants. When I purchase one (1) the quantity across the variants changes (to 7) but the total quantity for the main product does not change and remains 8.

- [ ![ScreenShot2019-02-12at9.34.40AM.png](/forum/attachment/46103) ](/forum/attachment/46103 "...t9.34.40AM.png") [ ](/forum/attachment/46103?download=1 "...t9.34.40AM.png")
- [ ![ScreenShot2019-02-12at9.35.38AM.png](/forum/attachment/46104) ](/forum/attachment/46104 "...t9.35.38AM.png") [ ](/forum/attachment/46104?download=1 "...t9.35.38AM.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 9 months ago [\#303747](#303747) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Quantities](/forum/35-orders-management/896844-product-quantities#303747 "-- HikaShop version -- : 4.0.1 -- Joomla version -- : 3.9.2  How are the 'quantity' for products and variants related? It appears that the quantity field for a product which has several variants has no effect at all. I've tested it with unlimited and with a value and it never changes—what is its purpose and/or how does it function?  When an order goes through, the variant quantity changes but the product quantity—no matter the value—never changes.")*

Hi,

I don't see how that's possible. Please provide a backend access, a FTP access, precise instructions to reproduce the problem and a link to this thread via our contact form so that we can have a look as this works just fine on my end:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5Njg0NC1wcm9kdWN0LXF1YW50aXRpZXM/dG1wbD1tYXJrZG93bg==) 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.085 seconds

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