Support » Plugin: WooCommerce » Lightbox not working

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    I am having the same problem. Also, the thumbnails are not standardized to 100-pixel squares anymore; they are all different shapes, with no padding between them. They look terrible. I looked at the link above for the answer to the problem and found the code below. But where do I add this code?

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

    I am using the Vantage theme, and just updated it to the latest version. But it is not just Vantage. Twenty Twelve has the same problem. The process of enabling the Lightbox for the Product Gallery images used to be WooCommerce: Settings: Products: Display: Product Images, where there was a box to check to enable the Lightbox. That box is gone. Now what do I do? The owner of the business that I work for is none too pleased that I just “broke” the web site with this update.

    That is my issue too in that I am not sure where to add the code.
    I have a lot of time in, and I do not want to break the site.
    Can someone give us some direction?

    Would appreciate any help.

    Ok I added the code it works, open your public_html and follow these steps.

    rootfolder(name) > wp-content > themes > Vantage(or whatever theme) > functions.php > open that up in a code editor, notepad or what ever scroll right to the bottom and copy and paste this in then save.

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

    Job done.

    • This reply was modified 2 years, 12 months ago by aaronkelly321.

    Thanks for that Aaron Kelly — I really appreciate at least having a lightbox back. However, it still looks terrible compared to v. 2.6. The thumbnails are a jumble instead of nice neat rows of squares. The caption information, which is critical on our site, is not displaying. How could WooCommerce release something so poorly realized? Even in their Storefront theme I saw the same problems.

    I’m fairly new to it and have invested the past few months to moving our site to the WooCommerce platform, and this incident has seriously eroded my trust in the product. I’ll NEVER update again until I’ve waited a few months.

    Oh yes, and the transparent overlay is gone! It’s just takes over the browser window with a black box. I hate it.

    Phew, had a copy of WooCommerce 2.6.8 downloaded to my computer which was stored in Dreaweaver, and just uploaded it to my site. Much better. I am not upgrading to 3.0 for a very long time. I am still very annoyed that the WooCommerce team released this very prematurely. I will watch the forums and wait for the chaos to die down before trusting this upgrade.

    I have to admit I find woocommerce approach to these issues a bit lame… The nature of wordpress is supposed to allow users with limited coding experience to have access to advanced features etc So the basic response of, “You will just have to work it out via CSS” is going to leave a lot of people in a mess and without an income.

    I followed the woocommerce suggested steps for a fix – and the thumbnails, although sized correctly, were displaying in a column and a couple of other things were not working. I dug into the CSS of another shop that updated correctly and got the problem site sorted.

    I have list what worked for me at:
    https://wordpress.org/support/topic/css-to-fix-a-woocommerce-image-display-proble/#post-9004524

    I spoke too soon. Going back to 2.6 after updating to 3.0 wreaked havoc with the Edit Product functionality. We were not able to update pages or publish drafts. So after an hour and a half of fruitless experimentation, I reluctantly downloaded 3.0.1. Now the “add_theme_support” code added to the Vantage functions.php page does work. Problem is, whether I use Vantage or Storefront, which is WooCommerce’s recommended theme, they have removed two features we are completely dependent upon: the transparency of the lightbox (it’s a solid, ugly, black opaque background that fills the screen) and worse yet, the titles and captions no longer appear with the image. I am frankly upset. My options are not good at this point. I need to know if the WooCommerce people view the lack of captions as part of their “improvement” of the gallery, because if that’s how they see it, thousands of dollars we’ve just invested into moving our site to WC has just gone down the drain.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Lightbox not working’ is closed to new replies.