Hello!
After update VM to the latest version I have a issue with the default virtemart page. Before I shown only futured parents products on this page but after update I see only futured children products. Issue is the same for all templates.
I am sending a photo before and after update in the attachment. After update you can see two identical products with selected variant. But I need to show only parent products. everything is OK on other pages.
can you help me?
What version have you updated to?
Latest test/beta version is here: http://dev.virtuemart.net/attachments/download/1332/com_virtuemart.4.0.7.10714_package_or_extract.zip
Yes, my VM version is 4.0.7 10714
Which variants do you use? Do your children have a category set? The common setup is without category, so it should not be shown in the list.
My products have category set only on parent products. Children variants are without category. This Issue is only on frontpage
Please check your options in the vm config of listing children.
QuotePlease check your options in the vm config of listing children.
Sorry but which option should I check?
I suspect Milbo means on the Virtuemart subordinated category settings tab of the home page menu item in Joomla.
Maybe there also, but the main setting is in the standard vm config, tab "shop front".
Hello, I am sending a print screen of my settings on the "shopfront" tab
Maybe disable "Show also products, which are not in at least one published category". I am just curious.
Hi Milbo, thank you, it's OK now. This issue has been resolved with this setting.
even more strange. Please enable the vmdebug for admins only and activate the sql debug. and then post the debug of the sql for the products. One time with and one time without the setting. I wonder what is going on there. As I said, I was just curious. I did not think it would make a difference
Hello, sorry for delay. Outputs are in attachments. With and without setting.
Thank you, great. I see you have the option enabled, that products without stock should be not seen. But parents with children having stock, right?
Hello, children yes, they have stock, but parents are without stock
So you want to see the parents without stock, whith children who have stock, but not children.
I restested your case, it works for me as it should. I see only the parents. I see the parent if out of stock, when I click on the parent I see only one choice, the product, which has stock, and so on. Everything is fine for me (on j3, but I wonder how there could be a difference, it is just sql).
QuoteSo you want to see the parents without stock, whith children who have stock, but not children.
yes
This work me fine too, but only to VM version 3.8.2 10325.
If product has children, parent product is without stock