VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: tessak22 on September 01, 2011, 22:24:49 PM

Title: 1.9.8f - Category Browse Template
Post by: tessak22 on September 01, 2011, 22:24:49 PM
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?
Title: Re: 1.9.8f - Category Browse Template
Post by: Milbo on September 05, 2011, 20:04:27 PM
Just write another layout, you can choose it then as default "flypage" of the category view.
Title: Re: 1.9.8f - Category Browse Template
Post by: tessak22 on September 05, 2011, 21:24:06 PM
Im not very good with PHP, is there a guide to help write a new template? Are there any templates out there for purchase?
Title: Re: 1.9.8f - Category Browse Template
Post by: Milbo on September 05, 2011, 23:49:39 PM
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.