VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: ar58 on March 13, 2018, 00:36:20 AM

Title: Fancybox Product Image Open Problem
Post by: ar58 on March 13, 2018, 00:36:20 AM
Hi,

I Have a problem that suddenly appeared

on the product page, the image of the product doesn't open in fancybox anymore and the other images don't replace the main image




What actually happens is when you click on the image it open as a link to

.../images/stories/virtuemart/product/apple.jpg


you can see it in the link

https://top-sales.co.il/check/index.php/component/virtuemart/view/productdetails/virtuemart_product_id/1/virtuemart_category_id/1


can you help me what is happened and what to do?


thanks

Title: Re: Fancybox Product Image Open Problem
Post by: Studio 42 on March 13, 2018, 04:36:55 AM
Update your template
Title: Re: Fancybox Product Image Open Problem
Post by: Ghost on March 13, 2018, 07:27:50 AM
Fix your scripts. You have two instances of Fancybox loaded. One is loaded by SJ Quickview plugin. Check if there's an option in the plugin to disable scripts.
Title: Re: Fancybox Product Image Open Problem
Post by: ar58 on March 13, 2018, 11:11:44 AM
I removed the SJ QuickView plugin and it solved the problem.

how did you saw it came from this plugin I checked with the console and didn't see something like that?


thanks!
Title: Re: Fancybox Product Image Open Problem
Post by: Ghost on March 13, 2018, 16:14:01 PM
I inspected the source code of your page.