Product Image Lightbox Not Working in Version 3.0
-
The product image lightbox stopped working when I updated to 3.0. I can’t find any setting to turn it on or off. It was in Products > Display but is no longer there. Any ideas how to turn it back on? I’m not getting any console errors.
Figured it out
Add this to your functions.php:
add_theme_support( ‘wc-product-gallery-zoom’ );
add_theme_support( ‘wc-product-gallery-lightbox’ );
add_theme_support( ‘wc-product-gallery-slider’ );It would be nice if there was a message after the upgrade to remind you to do that.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Product Image Lightbox Not Working in Version 3.0’ is closed to new replies.