News:

Looking for documentation? Take a look on our wiki

Main Menu

image link -> show product details - BUT in popup window

Started by aksatob, November 02, 2012, 17:26:38 PM

Previous topic - Next topic

aksatob

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            




bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!