News:

Looking for documentation? Take a look on our wiki

Main Menu

child products were shown after the update

Started by jarlu, October 04, 2022, 11:48:20 AM

Previous topic - Next topic

jarlu

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?

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jarlu


Milbo

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jarlu

My products have category set only on parent products. Children variants are without category. This Issue is only on frontpage

Milbo

Please check your options in the vm config of listing children.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jarlu

QuotePlease check your options in the vm config of listing children.
Sorry but which option should I check?

jenkinhill

I suspect Milbo means on the Virtuemart subordinated category settings tab of the home page menu item in Joomla.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Milbo

Maybe there also, but the main setting is in the standard vm config, tab "shop front".
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jarlu

Hello, I am sending a print screen of my settings on the "shopfront" tab

Milbo

Maybe disable "Show also products, which are not in at least one published category". I am just curious.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jarlu

Hi Milbo, thank you, it's OK now. This issue has been resolved with this setting.

Milbo

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
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jarlu

Hello, sorry for delay. Outputs are in attachments. With and without setting.


Milbo

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?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/