fbpx
Want To Add Extra Images Per Product Variation? Download This Free Plugin

image varinations dont show on click on mobile

Rasmus Degn

when select varinations on mobile image dont swirtch to that varinations ?? please see attached video: https://we.tl/t-PoHAMl0FmW

Hakik Zaman

Rasmus Degn

Hi, i just checked on mobile it still dont work?
i used ignoti browser chrome on iphone 16

Golam Kibria

Hi Rasmus,

I have checked on my mobile and it worked.

Will you please check again?

Thank You

Rasmus Degn

its stil dont work ! even on laptop

 

See attached – its should show red bag but it does not…

Golam Kibria

Hi Rasmus,

Unfortunately, your image attachment has failed.

Please upload the screenshot here: https://paste.pics/

Once uploaded, share the generated link with us.

Also, please check if there are any console errors on the page.

Thank You

Golam Kibria

Hi Rasmus,

You seem to be experiencing the issue due to a conflict of multiple jQuery versions.

On your site, additional jQuery is being added – https://paste.pics/T7YD0

WordPress Core already offers jQuery by default, so you don’t need to enqueue it again from a CDN.

Here is a default list of JS libraries that WP offers:
https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-and-js-libraries-included-and-registered-by-wordpress

You can enqueue the built-in jQuery library like this:

wp_enqueue_script( 'jquery' );

Rather than:

wp_register_script( 'jquery', 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js');

Our plugin uses WordPress’s built-in jQuery library. Please remove the additional CDN for jQuery.

This should resolve the issue.

Thanks a lot

Rasmus Degn

Thanks! Can you please help making that change as our developer is on 2 weeks vacation, and we really need this fixing as soon as possible since client lossing costomers when they cant see the different colors…

Golam Kibria

Hi Rasmus,

Please check again.

I will wait for your feedback.

Thank You

Golam Kibria

Hi Rasmus,

Please check again.

The object caching on the site is making the investigation very difficult 🙁

Thank You

Golam Kibria

Hi Rasmus,

Apologies for the delayed response (it was our weekend).

With further investigation, we have found the source of the conflicting code.

It comes from his snippet.

You have added the code to your Google Tag Manager account.

Deactivating the snippet will resolve the issue.

Hopefully, this will help resolve the issue.

I will wait for your feedback.

Thank You