Home › Forums › WoodMart support forum › Variation Image Issue – Need Images to Change by Color Only, Not by Size

Variation Image Issue – Need Images to Change by Color Only, Not by Size

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #730553

    businesswala.inc
    Participant

    Hello WoodMart Support,
    I need help with the variation gallery behavior on my WooCommerce website.
    I have a variable product with two attributes:
    Color: Black, Tan
    Size: UK 6, UK 7, UK 8, UK 9, UK 10, UK 11
    I want to assign product images only according to Color, not according to Size.
    For example:
    – Black → Black product images
    – Tan → Tan product images
    I have uploaded/assigned the images to the Black + UK 7 and Tan + UK 7 variations as a test.
    The problem is that when I select UK 7, the correct color images appear. But when I change the size to UK 6, UK 8, UK 9, etc., WoodMart/WooCommerce changes back to the default product image because those exact Color + Size variations don’t have images assigned.
    Required behavior:
    If the customer selects Black + UK 6, Black + UK 7, Black + UK 8, Black + UK 9, etc., the same Black color gallery should remain active.
    If the customer selects Tan + UK 6, Tan + UK 7, Tan + UK 8, Tan + UK 9, etc., the same Tan color gallery should remain active.
    In other words, I need the product gallery to be controlled by the Color attribute only, while Size should only change the selected variation/price/stock and must not reset the product gallery.
    I do not want to upload the same images separately for every size variation.
    Is there a WoodMart setting, built-in feature, or recommended WoodMart-compatible solution to achieve this?
    Ideally, I need:
    Color → controls images
    Size → controls variation/stock only
    Please advise how I can configure this correctly without creating duplicate images for every Color × Size combination.
    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #730559

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #730569

    businesswala.inc
    Participant

    Also, images are not showing in the variation gallery submission, and the submission button is also not working/available,

    Attachments:
    You must be logged in to view attached files.
    #730600

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    01. I have checked the product and confirmed that it has 2 Color options and 6 Size options, resulting in 12 generated variations. I also see that the variation images have been assigned only to specific Color + Size combinations, such as Black + UK 7 and Tan + UK 7.

    In WooCommerce, variation images are assigned to the complete variation combination, not to an individual attribute independently. Therefore, when you switch from Black + UK 7 to Black + UK 6, WooCommerce selects a different variation. Since that variation does not have its own image assigned, the gallery falls back to the default product image.

    WoodMart’s variation gallery follows this WooCommerce variation behavior. There is currently no WoodMart setting that makes the variation gallery automatically depend on the Color attribute while completely ignoring the Size attribute for image selection.

    02. Regarding the variation gallery, we can see that this feature is currently disabled on your website:

    You can follow the WooCommerce instructions below to enable variation galleries:
    https://developer.woocommerce.com/2026/05/19/bringing-variation-galleries-into-core/

    Best Regards

Viewing 4 posts - 1 through 4 (of 4 total)