Site logo

Archived topic

Woocommerce product gallery images

8 replies · Started by Dan on January 26, 2021

Viewing posts 1–9 of 9

Hi there,

can you check for plugin conflicts - by temporarily disabling all plugins aside for GPP and Woo.

yes, just did that but still no go

Does the issue happen if you activate a twenty series WP themes to test?

ok, I think I found the culprit.
I'm using a replace script loaded via an external js file.
If I deactivate it the gallery works.
This is the script:

jQuery(document).ready(function($){
$("p,h1,h2,h3,h4,h5,h6,li,dd,dt,a").each(function(){
    var $this = $(this);
    $this.html($this.html().replace(/(<sup>)?(&reg;|®)(<\/sup>)?/gi, '<sup>®</sup>'));
});
});

Do you see anything that could cause the gallery not to work?

I'm not sure unfortunately - it's likely causing a javascript or jQuery error though.

Glad it's not a theme issue :)

me too, thanks for your help

No problem :)

This archived topic is closed to new replies.