How to fix woocommerce thumbnail gallery?

WooCommerce 3.0 or above version used some new features for your WooCommerce photos gallery, magnifier option on a product image and product title text including:

  • Zoom functionality inbuilt in woocommerce core file no need for any third party plugins for zoom functionality.
  • Update light box effect.
  • Thumbnail slider on single page.

Paste below code 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’ );
}

Go back over to your product page see your thumbnail gallery.

For more in detail go to More Info

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s