News:

Support the VirtueMart project and become a member

Main Menu

Category page layout

Started by gofer123, January 07, 2013, 21:42:02 PM

Previous topic - Next topic

gofer123

Sorry if this a real dumb question but I'm a bit confused, how do I get VM Product Category to look like this: (please see attached image) and how do setup the capability so the viewer can add any product to "My favourites"
Appreciate some please, I'm using VM 2.0 + Joomla 2.5
Thank you.


[attachment cleanup by admin]

bytelord

Hello,

First upgrade to vm2.0.16d. You have to create some template overrides for that, for example for category view just copy the file from
joomla_root_folder/components/com_virtuemart/views/category/tmpl/default.php
to
joomla_root_folder/templates/your_joomla_template/html/com_virtuemart/category/default.php

Also adjust your CSS styling. As you understand you need some CSS/HTML/PHP knowledge to create and adjust your template files. Also keep in mind that vm2 uses the same template system.

Use firebug to examine you site code and css styling: https://forum.virtuemart.net/index.php?topic=102850.0

Template Overrides:
Creating Template overrides: https://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

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!

gofer123

Hi, thanks for the reply.
I've created a second template that has all the styling and has a centre content area where all VM content goes. So at the moment if I click on Prom Ball gowns it appears in the correct template but it displays only small thumbnail images rather than the original size of the image which is 249px x 400px. My thinking it's just something in the VM settings that I have stuffed up.
Cheers