Image Gallery for variation attribute Color

This topic has 4 replies, 2 voices, and was last updated 1 months, 4 weeks ago ago by Andrew Mitchell

  • Avatar: Crashraider
    Crashraider
    Participant
    October 8, 2025 at 12:23

    I want to assign different product images to my variations.
    My variations are made up of Color-Size. Currently, I can assign images to each Color-Size combination, but I’d like to assign the images to each Color attribute value, so that each Color-Size combination would already have the images.
    This way, instead of assigning the images to 25 variations (5 colors by 5 sizes), I would assign them to only 5 colors.

    Is this possible with XStore? Or do I need to use a specific plugin?

    3 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 8, 2025 at 14:10

    Hello, Crashraider,

    Unfortunately, it is not possible to assign images in this manner using XStore, and we are not aware of any plugin that provides such functionality, as it would conflict with the standard WooCommerce principles for creating and configuring variations. We also do not recommend implementing customizations for this purpose, as it would place a significant load on the CPU and database.

    Best regards,
    8Theme Team

    Avatar: Crashraider
    Crashraider
    Participant
    October 8, 2025 at 14:53

    And with the following option:

    Theme Options → WooCommerce → Shop Elements → Variation Swatches → “Primary Attribute”.

    Can I make it so that when I select a color, the gallery changes to the variations of that product? Or does it only change the main product image?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    October 8, 2025 at 15:12

    This should also replace the variable gallery; however, it will still be necessary to assign an image for each variation.
    Best regards,
    8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.