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

51 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

  2. Superb blog you have here but I was wondering if you knew of any discussion boards that cover the same topics talked about
    in this article? I’d really love to be a part of online community where I can get feed-back from other knowledgeable individuals that share the same interest.
    If you have any recommendations, please let me know.
    Bless you!

  3. Fantastic goods from you, man. I have bear in mind your stuff prior to and
    you are simply extremely great. I actually like what you have received right here,
    really like what you’re stating and the way in which you are saying it.
    You’re making it entertaining and you continue to care for to stay it sensible.
    I can’t wait to read much more from you. That is actually a great website.

  4. Hi there! I just wanted to ask if you ever have any trouble with hackers?

    My last blog (wordpress) was hacked and I ended up losing a few
    months of hard work due to no backup. Do you have any solutions to stop hackers?

  5. I’m curious to find out what blog system you have been working with?
    I’m having some small security problems with my latest blog and I would like to find something more risk-free.

    Do you have any recommendations?

  6. Good day! I know this is kinda off topic but I was wondering
    if you knew where I could get a captcha plugin for my comment form?
    I’m using the same blog platform as yours and I’m having problems finding one?
    Thanks a lot!

  7. Hello, i think that i saw you visited my blog so i came to
    return the prefer?.I am attempting to to find issues to enhance my web site!I suppose its good enough to use some
    of your ideas!!

  8. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically
    tweet my newest twitter updates. I’ve been looking
    for a plug-in like this for quite some time and was hoping maybe
    you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading your
    blog and I look forward to your new updates. http://www.mbet88vn.com

  9. This design is steller! You definitely know how to keep
    a reader amused. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job.
    I really enjoyed what you had to say, and more than that, how you presented it.

  10. I have been exploring for a little for any high-quality
    articles or blog posts in this kind of house . Exploring
    in Yahoo I ultimately stumbled upon this web
    site. Reading this info So i’m glad to convey that I’ve
    an incredibly just right uncanny feeling I found out exactly what I needed.
    I such a lot undoubtedly will make sure to do not put out of your mind this website and
    provides it a glance regularly. http://tyky.tk/188bet165063

  11. I really like your blog.. very nice colors & theme. Did you design this website yourself or did
    you hire someone to do it for you? Plz answer back as I’m looking to design my own blog and would like
    to know where u got this from. thanks https://www.keoc1.com

    1. Thanks for your nice comment, I am a web designer and i have designed and developed this blog for myself.

  12. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically tweet my newest
    twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe
    you would have some experience with something like this.
    Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates. http://view-free.info/188bet315067

  13. May I simply say what a comfort to find somebody that actually knows what they are talking about on the internet How to fix woocommerce thumbnail gallery
    and zoom magnifier error . You definitely understand how to bring an issue to light and make it important How to fix woocommerce thumbnail gallery
    and zoom magnifier error . More and more people really need to check this out and
    understand this side of your story How to fix woocommerce thumbnail gallery and zoom magnifier error .
    I was surprised that you aren’t more popular since you certainly
    have the gift How to fix woocommerce thumbnail gallery and zoom magnifier error .

Leave a Reply

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