Woocommerce Lightbox

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35632
    masnart39
    Participant

    I just realized that my products and product galleries images no longer open in a lightbox when clicked on. After a bit of googling, it appears the Woocommerce has removed this. Is there a way to make this work through the theme? Right now it just opens the plain image in a browser with no formatting.

    Here’s a link for reference: http://www.proto3dprinting.com/product/glue-holder-tombow-multi/

    #35633
    masnart39
    Participant

    In case anyone else is trying to solve this, I did find a fix that worked for me:

    Add these three lines of codes at the end of your functions.php

    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );
    add_theme_support( ‘wc-product-gallery-slider’ );

    The first line activates the image zoom. Second line activates the lightbox and the third line activates the image zoom slider for woocommerce.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Agile Theme Support’ is closed to new topics and replies.