VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: toad78 on September 27, 2013, 08:27:35 AM

Title: Product Image in Details View Not Popping Up
Post by: toad78 on September 27, 2013, 08:27:35 AM
Virtuemart 2.022c
Joomla 2.5.14
PHP 5.3

I'd like to be able to have the product image in the product details view (http://nettra.net/demo-sites/lea/shop/womens/women-s-shirt-name-detail.html) pop up with the use of jcepopup (unless VM has its own ability, I'd like to know). I've added the classification in the URL by editing the product_images.php file, but the image doesn't pop up. Instead it loads to a new page.

I checked my code and do not see more than one instance of jQuery running, but I wouldn't mind another set of eyes taking a look to see why I can't get the product images in Product Details View to pop up.

The reason why I have it posted here is because I thought maybe it would be a template issue.

Thank you for your help!
Title: Re: Product Image in Details View Not Popping Up
Post by: jenkinhill on September 27, 2013, 11:01:45 AM
VM uses fancybox for the image popup in product details and to handle additional product images so you don't need to add anything like jcepopup - which could screw things up, as others have had problems when using jcemediabox! In the page you link to the product quantity change does not work either.

You are not loading VM's jQuery - this must be loaded before the other VM .js files or VM will not work properly. You are loading a version of jQuery 1.8.1 which could cause VM issues, ISTR that this will prevent Fancybox from working. Maybe you can stop that one from loading.
Title: Re: Product Image in Details View Not Popping Up
Post by: toad78 on September 27, 2013, 19:30:45 PM
Would there be a way for VM to use Jquery 1.8.1. I'm using a scale that requires this version and doesn't work with anything below that. Plus my slider needs to run at a minimum of 1.7.1.
Title: Re: Product Image in Details View Not Popping Up
Post by: Maxim Pishnyak on September 30, 2013, 06:52:23 AM
Use Jquery Easy.

Does 1.8.1 compatible with old browsers?
Title: Re: Product Image in Details View Not Popping Up
Post by: toad78 on September 30, 2013, 17:25:04 PM
I've already tried jQuery Easy but it's touch and go with that plugin. For example, my Superfish Menu, slider, and the Fancybox will work but not the Goal slider. But if I modify the version of jQuery being used, then the Fancybox won't work.

Title: Re: Product Image in Details View Not Popping Up
Post by: Maxim Pishnyak on October 03, 2013, 17:08:42 PM
There are plenty sliders available for using.