Support » Plugin: WooCommerce » woocommerce show featured image on variation

  • Resolved xoxgregxox

    (@xoxgregxox)


    Right now after a variation is selected, the product shows the variation image and thats great, but also shows the second image of the product gallery and instead I want to show only the main image of the product. is it possible?
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I’m not entirely sure what you’re looking for. When you choose a variation, the variation image updates and the other images are still displayed.

    Here’s an example of switching variations:

    Switching variations, see image behavior
    Link to image: https://d.pr/i/23vDk6

    The images that are showing up next to the selected variation are coming from the product gallery:

    Images in the product gallery
    Link to image: https://d.pr/i/m1qzXf

    If you don’t want them to show up, then you can choose not to add images to the gallery.

    Does that clear things up for you?

    xoxgregxox

    (@xoxgregxox)

    Hi:
    thanks for your answer. Yes, I understand this is how the product gallery normally works. The problem is that I don’t want to show the other thumbnails when a variation is selected, only the the image of the variation.
    Thanks

    Plugin Support Hannah S.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    Thanks for confirming!

    To change this behavior, you’d need to modify the single-product.php template – here’s how to get started:
    https://wordpress.org/support/topic/customising-woocommerce-single-product-page/

    Plugin Support grigaswp

    (@grigaswp)

    Hi there,

    We haven’t heard from you in a while so I’ll be marking this thread as resolved.

    Feel free to open a new thread and link to this one if you have further questions though.

    Have a wonderful day ahead!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.