News:

Looking for documentation? Take a look on our wiki

Main Menu

Change position in category layout

Started by Alberto87, June 12, 2012, 13:55:30 PM

Previous topic - Next topic

Alberto87

Hi to All,

i'm new in this forum, I'm doing  my first e-commerce with virtuemart and  I need some help.
I'm having trouble with the category layout, in this ...

look at this page:  http://albertoguglielmi.it/demo30/index.php/bike-bags-cases

How can I take out the price and rating from the layout?

Please help me!

thanks!

jenkinhill

To remove the price disply from the category layout make a copy of the view file at joomla_root/components/com_virtuemart/views/category/tmpl/default.php and remove the div that starts
<div class="product-price marginbottom12" id="productPrice

Save the file and use as a template override - see http://forum.virtuemart.net/index.php?topic=90935.0  and  http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system

You can turn off reviews in VM configuration/shopfront - Shopper Review/Rating System

Or in the file above remove the code block beginning
<!-- The "Average Customer Rating" Part -->
And again, use as an override.
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

Alberto87

Thank for your help, but I have another question for you...I need to insert a new button in the category layout.... How could I do it? it is to add the items to the cart.


srajca