Skip to main content


How to fix woocommerce thumbnail gallery and zoom magnifier after updating woocommerce plugin?

All thing has been working fine on your WooCommerce base WordPress site and then you went ahead and updated to WooCommerce 3.0 or above version on your live website. If you update to 3.0 the first thing that you maybe noticed is that your lightbox stopped working and now the image is simply open in the browser directly. The question arises why it is not working as it used to work before updating WooCommerce 3.0. Fix woocommerce thumbnail gallery error and other issue.

WooCommerce 3.0 or above version used some new features specifically for your WooCommerce photos gallery and product title text including:

  • Image zoom / magnification functionality right into woocommerce core file no need for any third party plugins for zoom functionality.
  • Lightbox new effect more than old one.
  • Thumbnail slider on single page no need for third party plugins.

These are more big changes to how product images and gallery get presented in WooCommerce. The WooCommerce team develop the new gallery features by default.

How to fix WooCommerce thumbnail gallery error

The theme authors to control which new gallery features are enabled or disable. It is good news to adding support for theme customizer to control the latest features. If you’re managing your own WordPress WooCommerce theme you simply need to add a few lines to your file to fix woocommerce product gallery error after_setup_theme action. (which is in your functions.php file).

add_action( ‘after_setup_theme’, ‘yourtheme_setup’ );

function yourtheme_setup() {
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );
}

After you add those lines and go back over to your product page and you should see something like this.

fix woocommerce thumbnail gallery error

WooCommerce 3.0 product gallery new feature

10 thoughts on “How to fix woocommerce thumbnail gallery and zoom magnifier after updating woocommerce plugin?

  1. Hiya very nice website!! Guy .. Beautiful .. Wonderful ..
    I’ll bookmark your site and take the feeds
    also? I’m glad to seek out a lot of useful information here in the put up,
    we’d like work out more techniques on this regard, thanks
    for sharing. . . . . .
    +905443535397

Leave a Reply

Your email address will not be published. Required fields are marked *


Translate »