News:

Looking for documentation? Take a look on our wiki

Main Menu

VM 2 : productDetails in a lightbox - change the flypage ?

Started by manue, August 20, 2013, 15:31:11 PM

Previous topic - Next topic

manue

Hi there,

In the category page, there are 3 links to the product details page. I would like the one located on the image to display the details page in a lightbox.
I modified the file components/com_virtuemart/views/category/tmpl/default.php avec le code : <a data-lightbox="width:600;height:600;transitionIn:elastic;transitionOut:fade;type:iframe; " title="<?php echo $product->product_name ?>" rel="vm-additional-images" href="<?php echo $product->link.'?tmpl=component'?>">



It works fine.
The point is that I need to change the components/com_virtuemart/views/productsdetails/default.php in order to replace the pop-up (see cart / continue shopping) that opens when adding the product to the cart by a simple alert.
In fact, I think I need to assign an other flypage to this lightbox, so that the pop-up could still be displayed in the regular product details page.

Any idea of how to do that ?

Maxim Pishnyak

We still have some problems with this 'quick view' (search on forum such thread) functionality.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart