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

All thing has been working fine on your WooCommerce based 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 may be 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. In this article, we will explain how to fix WooCommerce thumbnail gallery errors and other issues.

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 galleries get presented in WooCommerce. The WooCommerce team develop the new gallery features by default.

You can also read our article on how to fix structure breaking issue in WooCommerce compatible theme?

How to fix WooCommerce thumbnail gallery error

The theme authors control which new gallery features are enabled or disabled. It is good news to adding support for theme customizers 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

The WooCommerce team has done excellent work with new product gallery features and the theme authors will give the support quickly for new features.

I hope this article helped you to ‘Fix Woocommerce product thumbnail gallery error’. You can also list the most important articles on Woocommerce Shortcodes, Resize Woocommerce product image size.

If you liked our articles, please subscribe to our YouTube Channel for WordPress Video Tutorials. You can also find us on social media platforms like Twitter and Facebook.

56 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

    Reply
  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!

    Reply
  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.

    Reply
  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?

    Reply
  5. 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!

    Reply
  6. 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!!

    Reply
  7. 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

    Reply
  8. 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.

    Reply
  9. 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

    Reply
  10. 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

    Reply
  11. 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

    Reply
  12. 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 .

    Reply

Leave a Comment