Author Topic: VM - Best Sales module thumb link to product details- SOLVED  (Read 4277 times)

blicharjuraj

  • Beginner
  • *
  • Posts: 3
VM - Best Sales module thumb link to product details- SOLVED
« 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

blicharjuraj

  • Beginner
  • *
  • Posts: 3
Re: VM - Best Sales module thumb link to product details
« Reply #1 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


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM - Best Sales module thumb link to product details- SOLVED
« Reply #2 on: September 29, 2011, 16:36:56 pm »
thanks
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/