News:

Support the VirtueMart project and become a member

Main Menu

Different category or sub category design

Started by goudmahendra, July 20, 2015, 15:49:29 PM

Previous topic - Next topic

goudmahendra

Hello All,
                   I am working on virtue mart 3 and I want each category have different template. is it possible using override. I have different layout for one category(refer image cat1.jpg) page and another design for other category page (refer image cat2.jpg). how can I do that.  if this is not possible then how can I design subcategories differently.

Virtuemart: 3.0.9

Joomla: 3.4.1

Thanks in advance

jenkinhill

Yes, you can use different layouts per category using template overrides. You will need to make overrides for the default category template file at components/com_virtuemart/views/category/tmpl/default.php and for the relevant sublayouts if necessary, components/com_virtuemart/sublayouts/

Specify the override (Category Browse Page) used for each category/subcat on the category config page.

http://docs.virtuemart.net/tutorials/templating-layouts.html
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

goudmahendra

Thanks jenkinhill

I will try and let you know.