VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Russell on March 06, 2017, 08:54:50 AM

Title: Dont show any products in any the category level
Post by: Russell on March 06, 2017, 08:54:50 AM
Hi I dont want to show the child products or any products when showing any category level, they show under the categories...
I dont see a setting for this, I have tried to removed the code for this is in category/default but then the products don't show..

I just want to show categories - until it is on the category page of the products...

Any ideas, thanks
Title: Re: Dont show any products in any the category level
Post by: jenkinhill on March 06, 2017, 11:23:35 AM
http://forum.virtuemart.net/index.php?topic=79799.0

In current versions category layouts can be  hanged within Joomla menu item configuration,  as well as VM Configuration/Templates and by the use of template overrides.
Title: Re: Dont show any products in any the category level
Post by: Russell on March 06, 2017, 12:30:08 PM
Thanks VM 3.0.7.4
Is there documentation on this - I am using template over rides (I assume you mean changing the code)...but if it can be done with menu items to show or not show, that would be better....

What I have found this that if remove the code that shows the product in the category, it removes the product in the product view page.... I dont know but this should really be an config option...

cheers
Title: Re: Dont show any products in any the category level
Post by: jenkinhill on March 06, 2017, 12:42:44 PM
VM3.0.7.4 is 2 years old and is known to be insecure (and was a pre-3.0.8 test/development release).  Versions before 3.0.18 do not have the improved configuration/layout  options. VM3.0.20 should be released soon, but in the meantime try using VM3.0.19.7 which is a pre-release test version to see if this works for you. Do this on a backup copy of your site, as your overrides may need updating. ( http://dev.virtuemart.net/projects/virtuemart/files )

See http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Dont show any products in any the category level
Post by: Russell on March 07, 2017, 02:47:15 AM
Hi Thanks for the help, do you know where the setting is for this in 3.018 - I am trying a demo to see thanks "Not show products in cat." or something like that?
Title: Re: Dont show any products in any the category level
Post by: Milbo on March 07, 2017, 09:33:38 AM
3.0.18 do not has this feature, you need vm3.0.19.8 http://forum.virtuemart.net/index.php?topic=136826.0