Author Topic: VM 2 : productDetails in a lightbox - change the flypage ?  (Read 1334 times)

manue

  • Beginner
  • *
  • Posts: 7
VM 2 : productDetails in a lightbox - change the flypage ?
« 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 :
Code: [Select]
<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

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Re: VM 2 : productDetails in a lightbox - change the flypage ?
« Reply #1 on: August 20, 2013, 19:29:09 pm »
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