Home › Forums › WoodMart support forum › Missing color swatch images on all variable products

Missing color swatch images on all variable products

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #731526

    b.brenner
    Participant

    Hello! Recently, we noticed that one color swatch image is no longer displayed on any of our variable products.

    The issue follows the same pattern across all affected products:

    The main product image (parent product) is correctly assigned and displayed.

    The color swatch corresponding to this main product image is missing. Instead, only the default color swatch is shown.

    All other variation swatch images are displayed correctly.

    This issue appears to affect all variable products.

    The issue occurs in both the German and English versions of our website.

    I assume this is related to a recent Woodmart update or a change in how variation swatch images are handled.

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to hear about the inconvenience. Kindly share your site’s WP-Admin login details so we can investigate the issue and assist you.

    For your security, please don’t post your credentials directly in this topic. Instead, use our secure sharing service: https://secret.xtemos.com/

    Enter your login details there, generate a secret link, and paste that link into the Private Content area of your reply. Please do not post the secret link in the public topic reply.

    The secret link can only be opened once, so please generate a new one if it has already been accessed.

    Best Regards.

    #731776

    b.brenner
    Participant

    Hi, here is the secret link.
    Regards!

    #731792

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    I have checked your website, but I am currently unable to reproduce the reported issue.

    Could you please share screenshots showing the expected appearance (before the issue occurred) and the current appearance where the color swatch image is missing?

    Please highlight the affected area in the screenshots so we can better understand the difference and identify the issue.
    Thank you for your cooperation.

    Best Regards,

    #731822

    b.brenner
    Participant

    I already sent 2 screenshots and I marked the affected area with a fat red line. If you open the product in the backend you see that the variation image is missing. What else do you need to know? You can check this with the product AMY (you already have the URL) or with any other variable product in the shop.

    #731836

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Thank you for providing the details.

    This behavior occurs because of how WoodMart handles swatch generation when the “Use images from product variations” option is enabled under Theme Settings > Shop > Attribute swatches.

    When this option is turned on, WoodMart automatically looks at the individual variation settings to pull swatch images. If a specific variation (such as the one matching the main parent product image) does not have an image explicitly uploaded inside that variation’s settings box, the theme falls back to the default attribute term image.

    You have two ways to resolve this depending on how you want to manage the product images:
    Method 1: Assign an Image to the Specific Variation (Recommended)

    If you want to keep “Use images from product variations” enabled:
    1. Go to your WordPress Dashboard and edit the affected variable product.
    2. Scroll down to the Product data box and click on the Variations tab.
    3. Open the specific variation that is missing its swatch image (the one corresponding to the main product image).
    4. Click on the variation image and upload/select the corresponding image for that variation.
    5. Click Save changes at the bottom and update the product.Verification: Refresh the product page on the frontend to confirm that the variation swatch image now displays correctly next to the others.

    Method 2: Use Global Attribute Term Images Instead

    If you prefer not to upload images to every single variation manually:
    1. Navigate to Theme Settings > Shop > variable products
    2. Locate the option “Use images from product variations” and disable it.
    3. Save your changes.
    4. Go to Products > Attributes, click Configure terms on your color attribute, and upload the correct swatch images directly to each attribute term. This will ensure the swatches pull globally across all products automatically.

    Best Regards

    #731926

    b.brenner
    Participant

    Hello, what is this supposed to be? Support? I certainly won’t be spending any more money on something like this in the future. If things continue this way, we’ll have to consider switching to a different theme. I feel like I’m being taken for a fool with responses like these.
    In my description of the issue, I stated: “Recently, we noticed that one color swatch image is no longer displayed on any of our variable products.” “No longer displayed” implies that everything was working fine before. All the preview images had been assigned and were displaying correctly for the past seven years. Now, suddenly, one of the preview images is missing from every single variable product. And the only solution you can come up with is to tell me that I need to re-assign the preview images?
    To me, a proper resolution to this problem would look like this:
    1. I want to know WHY preview images that were all displaying correctly just a short while ago are suddenly missing.
    2. I want the root cause of the issue to be fixed, and
    3. I want the original state to be restored so that the images are displayed again—without me having to manually edit hundreds of products. After all, I’m not the one who caused this.

    #731939

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    We’re sorry for the frustration and for the earlier replies that didn’t answer your actual question.

    Can you please share the WP admin login details again in the private content area so I will forward this issue to the lead developer so he will check and give us the solution about your issue. I will definitely delete the logins from the private content area after solving the problem in this topic.

    Best Regards.

    #731950

    b.brenner
    Participant

    I already did that

    #732014

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    First of all, we apologize for the misunderstanding and for the previous response not addressing the root cause of the issue.

    We have now thoroughly reviewed our theme’s code and can assure you that there have been no changes to the swatches functionality in our recent updates, including the latest one. Furthermore, WoodMart does not control how WooCommerce stores or manages the main images assigned to product variations. This functionality is handled by WooCommerce itself.

    However, we agree that the behavior you described is unusual, especially considering that these images were working correctly for years and suddenly disappeared across your variable products.

    To investigate this further, we checked the WooCommerce issue tracker and found a confirmed bug reported by other users who do not use WoodMart:

    https://github.com/woocommerce/woocommerce/issues/70983

    According to the report, during a WooCommerce database update, WooCommerce removed the _thumbnail_id metadata from variations when their assigned image was identical to the parent product’s main image.

    This matches the behavior you are experiencing and explains why the variation images are now missing in the product editing interface.

    In other words, this issue is not caused by a WoodMart update, but by a WooCommerce database migration that removed the corresponding variation image references.

    We understand your frustration, especially since manually restoring images across hundreds of products would be an unreasonable solution.

    The WooCommerce issue also describes a way to restore the missing image references. We recommend investigating this recovery approach to bring your products back to their previous state without manually editing each variation.

    We sincerely apologize for the inconvenience and appreciate your patience while we investigated the actual cause of the problem.

    Best Regards.

    #732022

    b.brenner
    Participant

    Thank you, that´s really helpful!
    Best regards!

    #732025

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    You’re very welcome! We’re glad we could identify the root cause and point you in the right direction. Thank you for your patience and understanding.

    If you have a minute, we’d truly appreciate your feedback — it helps us improve the product and shape future updates more effectively. We’d love your feedback on our theme:
    https://www.trustpilot.com/review/xtemos.com

    Thanks for contacting us.
    Have a great day.

    Topic Closed.

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

The topic ‘Missing color swatch images on all variable products’ is closed to new replies.