VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: sydtech on February 05, 2014, 12:51:31 PM

Title: Can't switch between pictures in product detail in frontend
Post by: sydtech on February 05, 2014, 12:51:31 PM
I'm just start working with VirtueMart and I have just set up a store. I have a product with two product images but when i press on the other picture (in frontend/in store) the first one is still showing. Do anyone know what can be wrong?

Best Regards
Simon
Title: Re: Can't switch between pictures in product detail in frontend
Post by: jenkinhill on February 05, 2014, 13:08:33 PM
Please start with this - http://forum.virtuemart.net/index.php?topic=79799.0  (the versions and url are important).
Title: Re: Can't switch between pictures in product detail in frontend
Post by: sydtech on February 05, 2014, 14:33:24 PM
Here is the version info and link to the site where the problem apears:

Joomla version: 2.5.17
VirtueMart version: 2.0.26d
PHP version: 5.3.28

Link to site: http://sydtech.se/SydTech/webbsidor/maskin/index.php/maskiner/gravmaskiner/minigravare-jcb-8018-detail
Title: Re: Can't switch between pictures in product detail in frontend
Post by: jenkinhill on February 05, 2014, 14:59:04 PM
You have a JavaScript conflict, you correctly load VirtueMart's required jQuery version, but then you load a different version in your Joomla template:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

That version stops the fancybox code from working. You could try stopping 1.8.3 from loading in your template code.
See http://forum.virtuemart.net/index.php?topic=119638.0