Hi all,
I could not find the solution how to remove the 'product details' button. Take a look at my website: http://www.roadboxx.com/cars/sedan (http://www.roadboxx.com/cars/sedan) Btw, I changed the 'product details' to 'car details'. Although it's still the same button. :P
I want it removed because it takes up too much space. You can already click on the image and the title, so the button is unnecessary.
Can anyone help?
You able to customize different types of VM pages. Look in Template forum section (sticked threads).
I was able to remove the 'product details' button by editing this file: \mywebsite\templates\mytemplate\html\com_virtuemart\category\default.php
I commented out the div containing the button on line 252 by adding <!-- -->
<!-- <div class="dbox">
<?php // Product Details Button
echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'product-details'));
?> </div> -->
How did you get the image to link to the details page?
On my site when you click on the image it expands / enlarges the image!
In the current VM versions (now at 2.0.22d) the default action is for the product image on the category pages to link direct to product details. If yours does not do that then you have either an old VM version or you are using template overrides which have not been updated.
Quote from: jenkinhill on September 14, 2013, 16:32:34 PM
In the current VM versions (now at 2.0.22d) the default action is for the product image on the category pages to link direct to product details. If yours does not do that then you have either an old VM version or you are using template overrides which have not been updated.
Thank you jenkinhill, it was an override in the template.