VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: manue on August 20, 2013, 15:31:11 PM

Title: VM 2 : productDetails in a lightbox - change the flypage ?
Post by: manue on August 20, 2013, 15:31:11 PM
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 ?
Title: Re: VM 2 : productDetails in a lightbox - change the flypage ?
Post by: Maxim Pishnyak on August 20, 2013, 19:29:09 PM
We still have some problems with this 'quick view' (search on forum such thread) functionality.