WooCommerce Gallery issue

I added this code to restore default WooCommerce gallery

add_action( ‘after_setup_theme’, ‘remove_woo_three_support’, 11 );
function remove_woo_three_support() {
remove_theme_support( ‘wc-product-gallery-zoom’ );
remove_theme_support( ‘wc-product-gallery-slider’ );
}

Now I’m able to see the thumbnails below the featured image. However, when I click on the gallery thumbnail, it opens in lightbox instead of changing the featured image. How do I fix this?

Hi Malav,

Thanks for reaching out.

There could be a plugin or custom code that affect your gallery thumbnail.

I recommend the following troubleshooting procedures before we investigate the settings.

  1. TESTING FOR THEME RELATED ISSUE
  2. TESTING FOR PLUGIN CONFLICT
  3. THEME UPDATE
  4. CHILD THEME
  5. CSS/JS CUSTOMIZATION
  6. VERSION COMPATIBILITY

Hope that helps and let us know how it goes.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.