News:

Support the VirtueMart project and become a member

Main Menu

1.9.8f - Category Browse Template

Started by tessak22, September 01, 2011, 22:24:49 PM

Previous topic - Next topic

tessak22

I want my category template (the one that shows all the products in a particular category) to list prices and an add to cart button. The old VM had this, how can I do it with this one?

Milbo

Just write another layout, you can choose it then as default "flypage" of the category view.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

tessak22

Im not very good with PHP, is there a guide to help write a new template? Are there any templates out there for purchase?

Milbo

You dont need another template, just copy the default.php in /views/category/tmpl, name it as you like. Then look in other views for the parts you need and copy them into your tmeplate, maybe adjust something here and there.... go to the shop config change the standard layout for the category view and done.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/