• Resolved abilissful

    (@abilissful)


    I’m creating products with variations, each with their own image. The image changes when options are selected from the dropdown, but I want thumbnails to show all images at once.

    I couldn’t find an option within the variations, so am attempting this through the product gallery. I have added images to the ‘Product Gallery’, and a <div> is created for the gallery. However, only one image is included. (It happens to also be the ‘Product Image.’)

    The images show up in the sidebar of the editor, but no evidence is seen of them on the page. I don’t have any customizations in place (that I’m aware of :).

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter abilissful

    (@abilissful)

    I do have this code snippet in place:

    function sv_remove_product_page_skus( $enabled ) {
        if ( ! is_admin() && is_product() ) {
            return false;
        }
    
        return $enabled;
    }
    add_filter( 'wc_product_sku_enabled', 'sv_remove_product_page_skus' );
    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I’m creating products with variations, each with their own image. The image changes when options are selected from the dropdown, but I want thumbnails to show all images at once.

    Okay, to confirm – each variation has its own image, which does work correctly, but you’d like each product page to have a section that shows all of the thumbnail images at once. That would let customers see all of the different thumbnail images without having to select each variation. Is that correct?

    Thread Starter abilissful

    (@abilissful)

    Yes, that’s correct.

    The product gallery did start working again, but it opens the image in a light box. This is acceptable, but the ideal would be that when they click the image it becomes the ‘main’ image.

    Since the gallery images are working again, my problem is technically solved. If it’s possible to do it that way I described above, I’d love to know how!

    Plugin Support Sol J. a11n

    (@solstudioim)

    Hi @abilissful

    Yes, that’s correct.

    The product gallery did start working again, but it opens the image in a light box. This is acceptable, but the ideal would be that when they click the image it becomes the ‘main’ image.

    Since the gallery images are working again, my problem is technically solved. If it’s possible to do it that way I described above, I’d love to know how!

    Thanks for your confirmation, and I am glad that now it’s technically solved! 🙂

    I checked the product page you mentioned, and yes the thumbnail when clicked popping out in a light box. I think that’s related to the theme you’re using.

    I have a demo product page using Storefront theme, and when I click the variation thumbnail, it changes the main product picture as well, please check it here.

    Not sure if that’s what you want. If yes, you might want to either change your theme to Storefront, or contact the developer of your existing theme about the issue, if you want to keep using it.

    I hope that helps!

    Thread Starter abilissful

    (@abilissful)

    Great, thank you for your help!

    Plugin Support Sol J. a11n

    (@solstudioim)

    Great, thank you for your help!

    You’re very much welcome!

    If you have any other questions, do not hesitate to create a new support thread 🙂

    I’ll go ahead mark this one as resolved.

    Have a great day!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Product Gallery is not populating’ is closed to new replies.