A
A
Artem2017-04-08 14:15:46
CMS
Artem, 2017-04-08 14:15:46

Why, after importing products after the all imports plugin, the gallery opens not in a light box, but with a direct link to the image?

I made an import into the audiometer through the all import plugin, the pictures stopped opening in the light box, but open in the exact link amaziru.gq/betheme
please help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Portnov, 2017-04-09
@artembuniashyn

Because after updating Woocommerce to version 3.0.0+ you must enable gallery support in your theme. To do this, add the following code to the function.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' );
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question