VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: ermes on December 03, 2019, 10:10:59 AM

Title: Info about product shared stock option
Post by: ermes on December 03, 2019, 10:10:59 AM
Hi forum, i have googled without results. Where can I find info about the shared stock option?
Title: Re: Info about product shared stock option
Post by: Jörgen on December 03, 2019, 10:21:10 AM
This is what You will find.

http://virtuemart.net/news/list-all-blogs (http://virtuemart.net/news/list-all-blogs)

Jörgen @ Kreativ Fotografi
Title: Re: Info about product shared stock option
Post by: Milbo on December 03, 2019, 14:41:37 PM
You meant http://virtuemart.net/news/496-bugfix-release-3-6-4-outdated-payment-plugins-work-again.

In short:
"added shared_stock for child products. They can use now the stock of the parent"

Shared stock for the variants. In our example someone sells eggs in different boxes.
Title: Re: Info about product shared stock option
Post by: Jörgen on December 03, 2019, 16:19:06 PM
Good explanation  :D
Jörgen @ kreativ fotografi
Title: Re: Info about product shared stock option
Post by: baroen on August 07, 2020, 15:42:33 PM
this functionality might be very usefull to me. Where can I find a more detailed explanation of this function? Milbo mentiones a example with eggs in different qty boxes, but I cannot find that example anywhere.
I sell products by weight. Each child product has a different weight. I would like to be able to set the stock value for the parent on the total weight I have in stock and be deducted on every child sale.
Is this possible?
Title: Re: Info about product shared stock option
Post by: Jumbo! on August 07, 2020, 16:50:01 PM
Open the the child products and check the checkbox called "shared" in product Status tab. See the attached screenshot for reference.

Now you do not need to maintain the stocks in child products. Whenever you update the stock in the parent product it will automatically also get populated/shared with all the child products marked as "shared".

Now if any of the child products is ordered the stock of the parent product along with all other child products will automatically get updated. They all will always have the same stock.

Hope this helps.