VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: blicharjuraj on September 27, 2011, 23:22:08 pm

Title: VM - Best Sales module thumb link to product details- SOLVED
Post by: blicharjuraj on September 27, 2011, 23:22:08 pm
Hi, can you help me, that how can i link thumb in Best sales module to product details?
Now it only shows image.
example
http://darujdar.plienkovetorty.sk/

Juraj
Title: Re: VM - Best Sales module thumb link to product details
Post by: blicharjuraj on September 29, 2011, 16:11:08 pm
ok,

i got it, i have to change

echo JHTML::_('link', JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product->virtuemart_product_id.'&virtuemart_category_id='.$product->virtuemart_category_id),$product->images[0]->displayMediaThumb('class="featuredProductImage" border="0"',$product->product_name));
to
echo JHTML::_('link', JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$product->virtuemart_product_id.'&virtuemart_category_id='.$product->virtuemart_category_id),$product->images[0]->displayMediaThumb('class="featuredProductImage" border="0"',false));

Can you tell me, if this is good solution?

Juraj

Title: Re: VM - Best Sales module thumb link to product details- SOLVED
Post by: Milbo on September 29, 2011, 16:36:56 pm
thanks