Hi,
I need to remove the products showing from a sub category page , but I cannot find where the file is stored or what it is that I need to remove.
I have attached an image to show exactly what it is that I need to remove.
Thanks in advance.
[attachment cleanup by admin]
File to edit/override is components/com_virtuemart/views/category/tmpl/default.php - or if you already have overrides then edit [your joomla temlate]/html/com_virtuemart/category/default.php
Thank you Jenkinhill, what code would I have to alter/delete?
That's up to you, depending on how you want to set it up, eg to use if/then to test if you are in a main category or in a subcategory to show or not show the products.
I can't provide the code for you which will depend on what version you use & if there are already overrides. If you can't code it then you should consider commissioning a developer who can.
Note that there are changes to templating structure in VM3 which should be released within a matter of days, so you may want to hold off until then.