WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Lightbox not working (6 posts)

  1. superdeluxesam
    Member
    Posted 1 year ago #

    I've just installed Woocommerce on WP 3.5 and am using the Mystile theme.

    One thing I've noticed is that the lightbox doesn't seem to be working, even though there is the option for it.

    I've installed no other plugins so far. I've made some CSS alterations to the theme, but that's it.

    http://wordpress.org/extend/plugins/woocommerce/

  2. janine 71
    Member
    Posted 1 year ago #

    I am having this same problem... images open up to a new page instead of opening up to a lightbox. I thought it might be theme related but it doesn't work on a different development installation using the WP Tenty Twelve theme either.

    Chrome developer tools console shows this error: GET ... /wp-content/plugins/woocommerce/assets/js/prettyPhoto/jquery.prettyPhoto.init.min.js?ver=2.0.2 404 (Not Found)

    I have verified that the file is uploaded and is where it should be.

  3. janine 71
    Member
    Posted 1 year ago #

    I figured out this was an issue with something in my htaccess file.

  4. superdeluxesam
    Member
    Posted 1 year ago #

    Sadly, it's not so simple for me. I can see fancybox.min.js is loading properly, and I'm not seeing javascript errors in the console, but there's nothing happening.

    What's really curious is that if I view the Mystile demo on the woocommerce site, the same thing is happening. Which makes me feel it's almost certainly not my local setup.

    For completeness I should mention I've also tested this in Firefox and the same thing happens.

  5. Roy Ho
    Member
    Posted 1 year ago #

    Well their demo is still running 1.6.6...2.0+ I believe has changed to using PrettyPhoto instead of fancybox.

  6. superdeluxesam
    Member
    Posted 1 year ago #

    Well, after all that the problem seems to have been me introducing a typo into one of the template files. Which I have no idea why I did it in the first place. Anyway, it's working now, so hurrah for that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic