Support » Plugin: WooCommerce » Procuct Gallery and Lightbox incompatible since latest update

  • Since the last update (3.4), when I click on the gallery icons, the images do not appear in the lightbox. I have the following code in my theme:

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

    Reviewing the change-log doesn’t seem to be big changes in this area, but maybe I missed something.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there!

    I see what you mean although I’m unsure why that’s happening as there’s no JavaScript errors showing up on your site. With that said, are you still experiencing the same issue after deactivating all of your plugins (except WooCommerce) and switching to the default Twenty Seventeen theme? I’m asking as I’d like to make sure this isn’t caused by a theme/plugin conflict.

    Thread Starter Kevin Mamaqi Kapllani

    (@kevinmamaqi)

    Hi,

    I deactivated all the plugins and used Twenty Seventeen, the problem persists. Seems like when ZOOM + Lightbox are activated (and gallery slider not activated) it doesn’t work as before.

    Mikey Arce

    (@mikeyarce)

    Automattic Happiness Engineer

    Hi @kevinmamaqi,

    This is a bug with 3.4 actually! I just submitted a patch here:
    https://github.com/woocommerce/woocommerce/pull/20249

    Feel free to apply that patch to your site or wait until this gets merged and released.

    Cheers,

    Thread Starter Kevin Mamaqi Kapllani

    (@kevinmamaqi)

    Thank you @mikeyarce

    I will wait for the next update then.

    Regards,

    Kevin.

    Mikey Arce

    (@mikeyarce)

    Automattic Happiness Engineer

    Hi @kevinmamaqi,

    Sounds good!

    Cheers,

    Hi @mikeyarce,

    Have there been any updates on this?

    I have added the theme support for the lightbox, disabled all plugins and tried your patch but, nothing is working.

    There are no errors in debug.log but the console comes up with the warning:

    Resource interpreted as Document but transferred with MIME type image/jpeg: “http://…image directory”

    and then the image opens as a new url.

    Any help would be much appreciated!

    Thanks,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Procuct Gallery and Lightbox incompatible since latest update’ is closed to new replies.