News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM - Best Sales module thumb link to product details- SOLVED

Started by blicharjuraj, September 27, 2011, 23:22:08 PM

Previous topic - Next topic

blicharjuraj

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

blicharjuraj

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


Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/