- Posts: 7
- Thank you received: 0
Cant enlare or switch the Product Images
- rockabillystomp
-
Topic Author
- Offline
Less
More
6 years 4 weeks ago - 6 years 4 weeks ago #325215
by rockabillystomp
Cant enlare or switch the Product Images was created by rockabillystomp
-- url of the page with the problem -- :
www.rockabillystomp.ch/shop/product/104-...yal-flush-booze-2019
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.9
hi there
on our shop we have several images for one product - since some time (we dont know when) you cant click the images to enlage or choose the other added pictures (tumbs on the bootiom) to swich to a second image of the product
see here:
www.rockabillystomp.ch/shop/product/104-...yal-flush-booze-2019
or
www.rockabillystomp.ch/shop/product/100-...hers-savage-minds-cd
is there a setting needed to be changed? thanks
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.9
hi there
on our shop we have several images for one product - since some time (we dont know when) you cant click the images to enlage or choose the other added pictures (tumbs on the bootiom) to swich to a second image of the product
see here:
www.rockabillystomp.ch/shop/product/104-...yal-flush-booze-2019
or
www.rockabillystomp.ch/shop/product/100-...hers-savage-minds-cd
is there a setting needed to be changed? thanks
Last edit: 6 years 4 weeks ago by rockabillystomp.
Please Log in or Create an account to join the conversation.
6 years 3 weeks ago #325235
by nicolas
Replied by nicolas on topic Cant enlare or switch the Product Images
Hi,
If you open the console of your browser on these pages, you can see that error:
monosnap.com/file/DDw0fLTFR0K68c4MAYUxYFuef1i5qd
This javascript error happens in the file templates/stomp10/script.js of your template.
It seems to be a jquery conflict as jquery is loaded twice on the page.
Because of that error, the rest of the javascript is not run and thus the javascript to initialize the images switcher isn't either.
So the problem is not with the image switcher.
I would recommend to install and configure the extension jQuery Easy. It's the recommended extension on Joomla to fix jquery conflicts.
extensions.joomla.org/extension/jquery-easy/
If you open the console of your browser on these pages, you can see that error:
monosnap.com/file/DDw0fLTFR0K68c4MAYUxYFuef1i5qd
This javascript error happens in the file templates/stomp10/script.js of your template.
It seems to be a jquery conflict as jquery is loaded twice on the page.
Because of that error, the rest of the javascript is not run and thus the javascript to initialize the images switcher isn't either.
So the problem is not with the image switcher.
I would recommend to install and configure the extension jQuery Easy. It's the recommended extension on Joomla to fix jquery conflicts.
extensions.joomla.org/extension/jquery-easy/
The following user(s) said Thank You: rockabillystomp
Please Log in or Create an account to join the conversation.
- rockabillystomp
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
6 years 3 weeks ago #325238
by rockabillystomp
Replied by rockabillystomp on topic Cant enlare or switch the Product Images
Hi there Nicolas, thank you very much for your suggestion. i have installed jQuery Easy... is there a chance that you would help me out with that? im really no familiar with js/script... thanks you very much
Please Log in or Create an account to join the conversation.
6 years 3 weeks ago #325241
by nicolas
Replied by nicolas on topic Cant enlare or switch the Product Images
Hi,
I'm not familiar with it either. It's just that this usually works in such cases and so I recommended it.
I would recommend to read the extension's documentation, and more precisely this page which talks about removing jquery conflicts:
simplifyyourweb.com/documentation/tutori...e-jquery-easy-plugin
I'm not familiar with it either. It's just that this usually works in such cases and so I recommended it.
I would recommend to read the extension's documentation, and more precisely this page which talks about removing jquery conflicts:
simplifyyourweb.com/documentation/tutori...e-jquery-easy-plugin
Please Log in or Create an account to join the conversation.
- rockabillystomp
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
6 years 3 weeks ago - 6 years 3 weeks ago #325298
by rockabillystomp
Replied by rockabillystomp on topic Cant enlare or switch the Product Images
Hi again nicolas
i had a deep dive with some jquery programmes...
we found out that:
hikashop uses jquery V1.1.2 in media/jui/js -> jquery.min.js
template uses jquery V1.6.4 in template/stomp10/jquery.js
causes the problem with load of the code, cause the versions are no matching
the jquery programmers told me to ask you to update the jquery version in hikashop to solv that issue
also the commad change to "jQuery.migrateMute = true" did not help...
can you do a further check please?
thanks again
i had a deep dive with some jquery programmes...
we found out that:
hikashop uses jquery V1.1.2 in media/jui/js -> jquery.min.js
template uses jquery V1.6.4 in template/stomp10/jquery.js
causes the problem with load of the code, cause the versions are no matching
the jquery programmers told me to ask you to update the jquery version in hikashop to solv that issue
also the commad change to "jQuery.migrateMute = true" did not help...
can you do a further check please?
thanks again
Last edit: 6 years 3 weeks ago by rockabillystomp.
Please Log in or Create an account to join the conversation.
6 years 3 weeks ago #325323
by nicolas
Replied by nicolas on topic Cant enlare or switch the Product Images
Hi,
media/jui/js is the jquery from Joomla, not HikaShop.
HikaShop relies on the jquery from Joomla since it's available and already there.
It should be either Joomla updating jquery (which won't happen in Joomla 3) or your template using the jquery provided in Joomla (which probably won't happen either... otherwise they would have used the jquery from Joomla right from the bat).
That's why I recommended to use Jquery Easy, as it dynamically strips both jquery from the page to replace it by its own version.
media/jui/js is the jquery from Joomla, not HikaShop.
HikaShop relies on the jquery from Joomla since it's available and already there.
It should be either Joomla updating jquery (which won't happen in Joomla 3) or your template using the jquery provided in Joomla (which probably won't happen either... otherwise they would have used the jquery from Joomla right from the bat).
That's why I recommended to use Jquery Easy, as it dynamically strips both jquery from the page to replace it by its own version.
The following user(s) said Thank You: rockabillystomp
Please Log in or Create an account to join the conversation.
- rockabillystomp
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
6 years 3 weeks ago #325371
by rockabillystomp
Replied by rockabillystomp on topic Cant enlare or switch the Product Images
Hi there nicolas, ok i see, thanks for the information
the plugin jquery easy is now configured correctly and active on the shop pages... the error is fixed but it does not solve the issue with the pictures... do you have aother ideas... options? thanks in advance for your time and help...
the plugin jquery easy is now configured correctly and active on the shop pages... the error is fixed but it does not solve the issue with the pictures... do you have aother ideas... options? thanks in advance for your time and help...
Please Log in or Create an account to join the conversation.
6 years 3 weeks ago #325372
by nicolas
Replied by nicolas on topic Cant enlare or switch the Product Images
Hi,
I think that the issue you now have is that you set the "image popup mode" setting in the HikaShop configuration to "no".
Because of that, you don't have the link on the images anymore and thus the switch doesn't happen on mouseover and you can't enlarge them either.
I suppose that you must have tried to turn off that setting when trying to solve the problem you had with the javascript conflict.
So set back that option to "shadowbox external" and it should now work fine.
I think that the issue you now have is that you set the "image popup mode" setting in the HikaShop configuration to "no".
Because of that, you don't have the link on the images anymore and thus the switch doesn't happen on mouseover and you can't enlarge them either.
I suppose that you must have tried to turn off that setting when trying to solve the problem you had with the javascript conflict.
So set back that option to "shadowbox external" and it should now work fine.
The following user(s) said Thank You: rockabillystomp
Please Log in or Create an account to join the conversation.
- rockabillystomp
-
Topic Author
- Offline
Less
More
- Posts: 7
- Thank you received: 0
6 years 3 weeks ago - 6 years 3 weeks ago #325400
by rockabillystomp
Hi Nicolas, thank you very much - that one worked fine.. its now OK again, perfect....
thank you very much for your time and help...
i wish you a nice day, thanks mate!
Replied by rockabillystomp on topic Cant enlare or switch the Product Images
nicolas wrote: So set back that option to "shadowbox external" and it should now work fine.
Hi Nicolas, thank you very much - that one worked fine.. its now OK again, perfect....
thank you very much for your time and help...
i wish you a nice day, thanks mate!
Last edit: 6 years 3 weeks ago by rockabillystomp.
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds