VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: otkambinok on July 03, 2013, 17:41:36 PM

Title: How to remove extra links?
Post by: otkambinok on July 03, 2013, 17:41:36 PM
Hello everyone. I have a two questions. 

1) How to remove the link from the product name in the "recommended products"? I use VM Featured Product to display featured products on the home page.
2) How to remove the link from the thumbnail image which located in front of the name and price of the product. (also in Featured Products)

So far I have managed to remove the extra links only here components/com_virtuemart/views/category/tmpl/default.php

Before

<a rel="vm-additional-images" href="<?php echo $product->link; ?>">
<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>
</a>

After

<?php
echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false);
?>

But this method doesnt work for "recommended products"

PS: sorry for my english.