Updated to Woocommerce 3.0.0 and now lightbox is disabled.

Hey there.

I updated to 3.0 and now when a product image is clicked it opens to a new window. I read about Woocommerce updating their galleries, but nothing about how to fix it in Activello.

Here is an example:


Help would be appreciated.

Hello there,

I hope you are doing well today.

It appears that the new version of Woo-commerce is conflicting with the light-box because Woo-commerce now has a light box added into it so the theme will have to be updated in order to accommodate the changes that were made in Woo-commerce.
I will notify our development team about this immediately and have a update issued out.

Best Regards,

Great thanks for the update.

Any idea how long something like this will take? Days or Months?


Hi @siriannic,

The new Woocommerce version has a built in lightbox, slider and zoom for the product images to enable that you need to add a little code to your functions.php file. ( do that from your child theme’s functions.php file, if you don’t have a child theme create one, Child Themes « WordPress Codex )

After that put this code,

add_action( 'after_setup_theme', 'activello_theme_setup' );
function activello_theme_setup() {
  add_theme_support( 'wc-product-gallery-zoom' );
  add_theme_support( 'wc-product-gallery-lightbox' );
  add_theme_support( 'wc-product-gallery-slider' );

PS: If you don’t want the zoom functionality then don’t add this line, add_theme_support( ‘wc-product-gallery-zoom’ ); likewise for other functionality, you can remove them by not adding that. :slight_smile:

Let us know,


Works!! Great Thanks!


Glad it works :slight_smile:

Let us know if you have any other questions. If you’re happy with our service, don’t forget to review & rate us in WordPress [Activello] Reviews | WordPress.org. :wink: