VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Tonda24 on May 27, 2020, 16:09:27 PM

Title: How not displaying the parents of goods that have the status Reserved
Post by: Tonda24 on May 27, 2020, 16:09:27 PM
Hello,
I am solving the problem of not displaying the parents of goods that have the status Reserved and the next one is not in stock.

Joomla! 3.9.18
VM: 3.8.2 10325

VM settings: Do not display goods if variants are not in stock

The product has several variants. The last piece is already in stock. All other variants have a stock = 0.
This last piece is in the pending status on the order
The frontend displays the parent, which has no variant.
The correct solution is not show the parent in this case at all.

Thank a lot.

DC
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Jörgen on May 27, 2020, 16:35:05 PM
If the order is pending, the item is reserved. Not much to do about this. Otherwise You could oversell items.

Jörgen @ Kreativ Fotografi
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Tonda24 on May 27, 2020, 17:20:19 PM
If the parent is displayed in this case, customers are asked what variations we have. It should not be displayed.
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Jörgen on May 27, 2020, 22:45:15 PM
What are your settings for stock control ? If you manually det the last stock to zero does the parent vanish?
Jörgen
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Tonda24 on May 28, 2020, 08:18:00 AM
Hello,
When I set the product variant stock = 0, the parent disappears, that's OK. The problem is when the product is reserved. Only the variant disappears, the parent is visible.
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Jörgen on May 28, 2020, 08:30:19 AM
OK, this could be something for Max to look at. In my oppinion it should also consider reserved items.

Jörgen @ Kreativ Fotografi
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Tonda24 on June 03, 2020, 16:11:36 PM
Hello,
Is there anything I can do about it? We have big problems with that.
Thanks,
DC
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: pinochico on June 03, 2020, 18:27:48 PM
Custom developing :)
Title: Re: How not displaying the parents of goods that have the status Reserved
Post by: Tonda24 on June 08, 2020, 09:53:30 AM
Hello,
Who could do it and at what cost?