Home>Support>Photo Gallery not working in Woocommerce after update

Photo Gallery not working in Woocommerce after update

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Well I moment of laziness and ran the woocommerce update before checking if it was compatible and most things are working fine with Vantage theme. The main thing that is not working for me is the photo lightbox for woocommerce and just wondering if I should follow the steps I found on this site to correct the issue or wait for an update

How to fix a broken photo gallery and lightbox after WooCommerce 3.0 upgrade

Thanks

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 3 months ago Alex S
    Hi, I Work Here

    This is a copy of my reply over Premium support.

    Hi Coinerrorsnz,

    Please install Code Snippets and then navigate to WP AdminSnippetsAdd New and add the following PHP:

    function vantage_child_theme_setup() {
        add_theme_support( 'wc-product-gallery-lightbox' );
    }
    add_action( 'after_setup_theme', 'vantage_child_theme_setup' );

    How does that look? To clarify, I don’t enable the two other features because currently one of them has major issues in Vantage and the other isn’t very well tested at the moment so it may also have issues. Regardless, this PHP will return the lightbox effect and should have it appear much the same as what it was prior to the update.

    Please note that we’re currently working on a proper update now.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More