News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[ SOLVED ] Add To Cart on Category View Page

Started by croppertiger, November 06, 2012, 12:08:36 PM

Previous topic - Next topic

croppertiger

Hi,

I've read the following link, but I wondered which file do I need to modify in order to add the "add to cart" button on the category view page?

http://forum.virtuemart.net/index.php?topic=90961.0

Many thanks!

bytelord

Hello,

You have to create a template override for the file joomla_folder\components\com_virtuemart\views\category\tmpl\default.php. Copy that file to joomla_folder/templates/your_joomla_template/html/com_virtuemart/category/default.php
If the file exist under your template then just edit the file and place the code as been instructed on the post you read.

Some more information regarding template system and template overrides:
Template overrides: http://forum.virtuemart.net/index.php?topic=98505.0
Template System: https://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system
Using firebug to examine your code & css styling: http://forum.virtuemart.net/index.php?topic=102850.0

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!