Author Topic: How not displaying the parents of goods that have the status Reserved  (Read 916 times)

Tonda24

  • Beginner
  • *
  • Posts: 8
  • A beginner
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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3479
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
If the order is pending, the item is reserved. Not much to do about this. Otherwise You could oversell items.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Tonda24

  • Beginner
  • *
  • Posts: 8
  • A beginner
If the parent is displayed in this case, customers are asked what variations we have. It should not be displayed.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3479
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
What are your settings for stock control ? If you manually det the last stock to zero does the parent vanish?
Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Tonda24

  • Beginner
  • *
  • Posts: 8
  • A beginner
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.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3479
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
OK, this could be something for Max to look at. In my oppinion it should also consider reserved items.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Tonda24

  • Beginner
  • *
  • Posts: 8
  • A beginner
Hello,
Is there anything I can do about it? We have big problems with that.
Thanks,
DC

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1127
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Custom developing :)
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

Tonda24

  • Beginner
  • *
  • Posts: 8
  • A beginner
Hello,
Who could do it and at what cost?