fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Elementor loop: the image doesn’t change on the archive page

Damien Badie

Hello, thank you for this plugin!

I’m having an issue with my Elementor grid; the main image doesn’t change when clicking on a different color.

I also tried with the WooCommerce grid, and the problem is the same.

https://www.maisonmalya.fr/boutique/

Thank you in advance for your help.

 

Hakik Zaman

Hi Damien,

Thanks for reaching out to us.

I have checked your script list. Then I can see you have added jQuery CDN on your site.

WordPress Core has its default jQuery, you don’t have to enqueue it again. Please check the default JS libraries of WordPress Core- https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-and-js-libraries-included-and-registered-by-wordpress

You can enqueue the jQuery like this to use the built-in jQuery library-

wp_enqueue_script( 'jquery' );

Rather than like this

wp_register_script( 'jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js');

Our plugin is dependent on the default jQuery library of WordPress. Please remove the additional CDN for jQuery. Then try again on your site.

I hope this will help. Hope to hear from you soon.

Thank You

Damien Badie

Hello,

I’ve removed the additional CDN for jQuery and now it’s working perfectly!

Thank you so much for your help!