How to Show Attribute Images or Colors in Linked Variations in WooCommerce?

The Advanced Linked Variations for WooCommerce plugin links separate products by shared attributes, and shows those attributes as swatches on the product page.

You can display a swatch as the product photo, an image or color saved on the attribute term, or the term name. Show attribute images and Show colors are Premium options. The image or color appears on the storefront only when the same choice is saved on the term and in the linked variation group.

For example, you upload a fabric photo to the Red term, select Show attribute images for Color in the group, and shoppers see that photo instead of the product image or the word Red.

Benefits

Using attribute images and colors can help you:

  • Show a term's own image or color instead of the product photo.
  • Keep size attributes as text (S, M, L) while color attributes use swatches.
  • Clear a display choice without unchecking the attributes that link the group.

How to Show Attribute Images or Colors in Linked Variations

Step 1: Add an image or color to an attribute term

Go to Products → Attributes, open the attribute (for example, Color), and add a new term or edit an existing one.

In the Swatch field, choose Image or Color. You can save only one of these on a term.

If you choose Image, click Upload image, select a file, and click Use this image. You can click Remove image later if you need to. If you choose Color, pick the color in the color field.

The Swatch field appears only with a Premium license, and only on global product attributes.

Step 2: Choose the display option in the linked group

Go to DotStore Plugins → Advanced Linked Variations, open the Linked Variations Group tab, and edit a group.

In Linked by (attributes), click Expand+. Next to each attribute checkbox, you'll see:

Option What it does
Show product images Uses the product photo for that attribute. Available on the free version and in Premium.
Show attribute images Uses the image saved on the term. Premium only.
Show colors Uses the color saved on the term. Premium only.

The storefront shows the image or color only when that same option is selected in the group and on the term. If they don't match, or the image or color is missing, the swatch falls back to the term name.

On a new group, none of the radios is selected, so the swatches show the term name. Groups that already had Show images checked keep Show product images selected.

On the free version, Show attribute images and Show colors are visible but locked.

Step 3: Clear the display choice

If you need to go back to the term name, expand the row and click Clear to the right of Expand+ / Collapse-. Clear appears only while the row is expanded.

It clears the display radios for that group and leaves the attribute checkboxes selected. On the free version, it clears only Show product images.

Save the group after you change or clear a display option.

Step 4: Check the product page

Open a product in that group. Confirm each attribute shows the product photo, the term image, the term color, or the term name, based on what you selected.

Example Use Cases

Fabric or pattern swatches

If Color should show a fabric photo instead of the product image, upload that photo on each Color term and select Show attribute images for Color in the group.

Color chips next to text sizes

If you want Red, Green, and Black as color chips but Size as S, M, and L, set Show colors only on Color and leave Size with no display radio selected.

Back to term names

If you tried Show product images and want the attribute to show the term name again, expand Linked by (attributes), click Clear, and save the group.

Conclusion

Save an image or a color on each attribute term, then choose Show attribute images or Show colors in Linked by (attributes). The storefront shows that swatch only when both sides match. Use Clear if you want the term name instead.

FAQs

1. Where do I add the attribute image or color?

Go to Products → Attributes, open the attribute, and add or edit a term. The Swatch field is on that screen, not on the terms list.

2. Why does a swatch still show the term name?

The group setting and the term must use the same choice, and the term must have an image or a color saved. If Show attribute images is selected but the term is set to Color, or has no image, the swatch shows the term name.

3. What does the Clear button do?

Clear unselects Show product images, Show attribute images, and Show colors for that group. It does not uncheck the attributes in Linked by (attributes). After you save, those swatches show the term name.

4. Can I use attribute images and colors on the free version?

No. Show product images works on the free version. Show attribute images, Show colors, and the Swatch field on attribute terms require a Premium license.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.