# Virtual products (kits) decrease, how to increase?

**URL:** <https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277>\
**Category:** Using my Dolibarr\
**Created:** [January 25, 2019, 2:26pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277 "2019-01-25T14:26:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jochen](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/j/91b2a8/32.png) [@Jochen](https://www.dolibarr.org/forum/u/Jochen)\
**Post date:** [January 25, 2019, 2:26pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/1 "2019-01-25T14:26:39Z")

</div>

Hi Dolibarr community.

I’m having trouble understanding the Virtual products (Kits) feature.

Situation:

\* I have a virtual product that consists of two real products.  
\* The virtual product has the option “Increase/Decrease stock on parent change”  
\* Dolibarr is configured that when shipping products, the stock decreases and when receiving shipments, the stock increases.

When I sell the virtual product, the real products attached to it decrease.  
When I receive ordered real products, the stock count of the real product increases. But the virtual products stock count does not.  
When I correct the stock for the virtual product, the real products will also increase…

So the question is, how to I automatically, or manually increase the stock of the virtual product? (Or do I need to uncheck the “Increase/Decrease stock on parent change” on the virtual product, and then correct the stock, and then change the “Increase/Decrease stock on parent change” back…)

What is the correct flow for this?

---

<div class="post-metadata">

**Author:** ![jrgonzalezrios](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/jrgonzalezrios/32/4133_2.png) [@jrgonzalezrios](https://www.dolibarr.org/forum/u/jrgonzalezrios)\
**Post date:** [February 4, 2020, 10:51pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/2 "2020-02-04T22:51:27Z")

</div>

Hi!, I am having the same issue… did you come up with a solution?

up-vote this

Thanks!

---

<div class="post-metadata">

**Author:** ![Akkz](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/akkz/32/3321_2.png) [@Akkz](https://www.dolibarr.org/forum/u/Akkz)\
**Post date:** [February 6, 2020, 11:51am UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/3 "2020-02-06T11:51:01Z")

</div>

Untick ‘increase or decrease’ option

use factory module -\> real products quantity will be consumed to make the final product. so real products decrease and the final product increase.

---

<div class="post-metadata">

**Author:** ![jrgonzalezrios](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/jrgonzalezrios/32/4133_2.png) [@jrgonzalezrios](https://www.dolibarr.org/forum/u/jrgonzalezrios)\
**Post date:** [February 10, 2020, 6:30pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/4 "2020-02-10T18:30:07Z")

</div>

Thanks for your respond, could you explain where this factory module is?

---

<div class="post-metadata">

**Author:** ![ksar](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/ksar/32/514_2.png) [@ksar](https://www.dolibarr.org/forum/u/ksar)\
**Post date:** [February 10, 2020, 9:01pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/5 "2020-02-10T21:01:10Z")

</div>

[https://www.dolistore.com/en/products-services-or-stock/386-Factory--computer-assisted-manufacturing--CAPM-CAMM--for-Dolibarr.html](https://www.dolistore.com/en/products-services-or-stock/386-Factory--computer-assisted-manufacturing--CAPM-CAMM--for-Dolibarr.html)

---

<div class="post-metadata">

**Author:** ![Akkz](https://www.dolibarr.org/forum/user_avatar/www.dolibarr.org/akkz/32/3321_2.png) [@Akkz](https://www.dolibarr.org/forum/u/Akkz)\
**Post date:** [February 11, 2020, 12:40pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/6 "2020-02-11T12:40:38Z")

</div>

> [@Problems understanding virtual product functions.](https://www.dolibarr.org/forum/t/problems-understanding-virtual-product-functions/18074):
>
> Good day to you all. I am a new user of dolibar currently using version 10.0.3. the problem I have is as folows : I have a product a box of different candy lets call it CANDY ASSORT. It virtual product tab it is made of or contains these products: 1 cardboard candy Box 1 candy caramel 1 candy vanilla 1 candy coffee All are virtual products are set to change stock as parent product changes that is what I need and I understand how it works. the problem: I have 0 stock of CANDY ASSORT , …

Hope this helps you

---

<div class="post-metadata">

**Author:** ![conformist](https://www.dolibarr.org/forum/letter_avatar_proxy/v4/letter/c/5e9695/32.png) [@conformist](https://www.dolibarr.org/forum/u/conformist)\
**Post date:** [June 11, 2020, 12:30pm UTC](https://www.dolibarr.org/forum/t/virtual-products-kits-decrease-how-to-increase/17277/7 "2020-06-11T12:30:04Z")

</div>

I don’t think buying a module for the Dolistore is a reasonable answer to this. The detail on the ‘virtual products’ tab of the services is clear about how this should operate.

![image](https://www.dolibarr.org/forum/uploads/dolibarrorg/original/2X/6/611bdc707e0101b75e980540149eb2cec9b533c2.png)

Is this actually a bug?
