VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: aksatob on November 02, 2012, 17:26:38 PM

Title: image link -> show product details - BUT in popup window
Post by: aksatob on November 02, 2012, 17:26:38 PM
Hello,

i was able to change thumbnail link from img to product details but i cant figure out how to force link (product details) to open in popup window (lightbox,facebox, quick look or however its called  :) )


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), $image, array('title' => $product->product_name));

but i need to open product detail page in popup window...

thanks for any advices


Michal            



Title: Re: image link -> show product details - BUT in popup window
Post by: bytelord on November 04, 2012, 01:53:50 AM
Hello,
Check on that
http://forum.virtuemart.net/index.php?topic=105972.0