Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #870281

    After going through the various topics on this forum and indeed searching the net. I find none that will enable this feature.
    I am using enfold theme 4.0.5 installed with woocommerce 4.2.1
    I have the lightbox modal window set.
    I entered images into the gallery on the wordpress page for the product.
    I get the images thumbnails under the main feature image.
    When I hover over them they do not enlarge and show in the feature image location.
    When I click on them they do not show up in a light box or even show up in a window.
    I have used below in function.php with and without makes no difference.
    ————————————————————————–
    add_action( ‘after_setup_theme’, ‘yourtheme_setup’ );

    function yourtheme_setup() {
    add_theme_support( ‘wc-product-gallery-zoom’ );
    add_theme_support( ‘wc-product-gallery-lightbox’ );
    add_theme_support( ‘wc-product-gallery-slider’ );
    }
    —————————————————————————–

    #870318

    Hey rinviz,

    Have you already attempted disabling all active plugins to ensure that there are no scripting conflicts.

    Best regards,
    Jordan Shannon

    #871032

    Yes I had already done this but I did it again during the night Just to make sure.

    Rin

    #871073

    I have the same problem now =(
    this is my site, not work in the single product the lightbox

    #871395

    Hi,

    Have you attempted to refer to the following: https://docs.woocommerce.com/document/jquery-cookie-fails-to-load/

    Best regards,
    Jordan Shannon

    #871401

    Hi,

    Also if possible, please try contacting the plugin devs, as they may be able to offer additional insight.

    Best regards,
    Jordan Shannon

    #871510

    A couple of things.
    I think the problem is the gallery is not working properly.
    I went to one of my other sites on the same shared hosting account. Installed woocommerce, created a product with feature image and two gallery images. When I went to the website I found that when I placed the mouse pointer over a gallery image it became a hand. when I clicked it the feature image was replace by it. Just as galleries are supposed to work. The only difference between the websites is that I am using a different theme.

    On the the problem website when I place the mouse pointer over the image it does even become a hand.

    Rin.

    #872595

    Hi,
    On your example link, the product gallery images are opening in lightbox for me in Chrome and Firefox, which browser are you using?

    Best regards,
    Mike

    #872643

    Yes that is because I found out what the problem was yesterday I found that scripts I had put into the quick css wore causing it. I removed all the scrips and put them in the child theme css and it worked OK. haven’t a clue why as I just cut it and pasted without any changes.Light box didn’t work because I had turned it off because the underlining problem was that the gallery wasn’t working. I turned modal on then the light box work fine.

    Cheers

    Wilf.

    #872767

    Hi,
    Thank you for sharing your solution, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

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