News:

Looking for documentation? Take a look on our wiki

Main Menu

Small Product Icon as a Product link?

Started by Fullmarketing, March 08, 2012, 13:58:13 PM

Previous topic - Next topic

Fullmarketing

Hey Community!   :)

First, we want that the small 90x90 Product Icons become a product link. Currently a Lightbox opens.  --> http://lws-ladeneinrichtungen.de/friseureinrichtungen-shop

Secondly, we want that the PDF Document (pdf Icon) opens in a new blank page.   --> http://lws-ladeneinrichtungen.de/friseureinrichtungen-shop/hocker-dee-detail

We use VirtueMart 2.0.2 & Joomla 2.5

Thanks for your help!

Andi

TopPretender

Hi,

changing the image link from open the image to open the product, you will need to modify the category php code

Look for a line similar to this with your template:
echo $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'class="modal"');

to the following:
echo JHTML::link($product->link, '<img src="'.$product->images[0]->file_url.'">', array('border' => '0','title' => $product->product_name,'class' => ''));