Cant enlare or switch the Product Images

  • Posts: 7
  • Thank you received: 0
4 years 6 months ago #325215

-- 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

Last edit: 4 years 6 months ago by rockabillystomp.

Please Log in or Create an account to join the conversation.

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
4 years 6 months ago #325235

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/

The following user(s) said Thank You: rockabillystomp

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
4 years 6 months ago #325238

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.

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
4 years 6 months ago #325241

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

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
4 years 6 months ago #325298

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

Last edit: 4 years 6 months ago by rockabillystomp.

Please Log in or Create an account to join the conversation.

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
4 years 6 months ago #325323

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.

The following user(s) said Thank You: rockabillystomp

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
4 years 6 months ago #325371

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...

Please Log in or Create an account to join the conversation.

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
4 years 6 months ago #325372

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.

The following user(s) said Thank You: rockabillystomp

Please Log in or Create an account to join the conversation.

  • Posts: 7
  • Thank you received: 0
4 years 6 months ago #325400

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: 4 years 6 months ago by rockabillystomp.

Please Log in or Create an account to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum