Viewing 9 replies - 1 through 9 (of 9 total)
  • Elina

    (@elina-cristina)

    Try going to Settings > General, scroll down to Styles and Scripts and check the Enable Lightbox option.

    I’ve the same problem as you timread. The lightbox is however certainly enabled in the settings. In the source code of a product page, the CSS-file is added but the other two required .js-files are not there.

    Don’t know why this is so. The script enqueue seems to be right in the woocommerce.php-file.

    I’m using Woocommerce 2.0.13 and WP 3.6.

    My temporary solution to this are to “hardcode” the required, missing javascript files in the footer and to be only added on product pages.

    Thread Starter timread

    (@timread-1)

    Thanks for confirming this Carl-Joel. Any chance you could post up the required coding that you allude to?

    Roy Ho

    (@splashingpixelscom)

    @timread – instead of hacking the code, you should try to test if you have some sort of conflict first. Try switching to 2012 theme and turn off all plugins except for WC and see if it works.

    I found out that when I include jQuery from a CDN and not from the default WordPress jQuery asset the problem appeared.

    So the solution to my problem with Woocommerce js-assets not being included was to skip the CDN and use WP’s jQuery.

    Roy Ho

    (@splashingpixelscom)

    @carl-joel – using CDN to load jQuery on a WordPress site is a very bad practice. Always use the one that accompanies WordPress by enqueueing it.

    Thread Starter timread

    (@timread-1)

    Thanks both of you. I tried sp.com’s suggestion first and that has winkled out the problem. There is a conflict in Jetpack Version 2.3.5.

    Thanks again for your help.

    i have the same problem, I find solution, that is i forgot add <?php wp_head(); ?> before close tag </head>, the wp_head action hook and wp_footer are very important. the plugins add js and css file follow by them.

    My Lightbox for my woocommerce products all of a sudden stopped working. Can someone please point me in the right direction.

    https://nuleafteaco.com/product/shape-up-detox-14-day/

    Thank you for your assistance. ??
    P.S. Header & Footer php’s are there from what i can tell.

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