Attributes & terms
Swatches are set up per global attribute: the attribute gets a swatch type, and each of its terms gets a color, image or label.
Swatch type
The Swatch type field is added to the Add new attribute form and the Edit attribute screen. It's saved with the attribute when you click Add attribute or Update.
How this attribute is shown on variable products. Free types: Dropdown (no swatch), Color, Image, Label. With Pro also Two-tone color (Pro), Radio buttons (Pro) and Image + label (Pro). Set each term's color or image under Configure terms.
Optional. One of the three attribute presets to style this attribute's swatches with. Saved only while the Pro license is active.
- Add new attribute form with Swatch type ("Dropdown (no swatch)") and Style preset (Pro) under the WooCommerce fields
- Attribute list on the right: Color and Size with their terms and Configure terms links
The swatch type is stored by this plugin, not in WooCommerce's attribute settings, so WooCommerce's own type stays untouched. Deleting an attribute also removes its swatch type and preset.
Attributes added only on a product (not under Products → Attributes) have no terms and no swatch type. They show as label swatches while Show other attributes as label swatches is on. With Pro you can give them a type, colors and images per product: Per-product swatches.
Term fields
Click Configure terms on the attribute. The add and edit term forms get one field that matches the attribute's swatch type:
| Swatch type | Field | What to enter |
|---|---|---|
| Color | Swatch color | A color picker with an opacity slider: "The color shown for this term's swatch." Saved as hex, rgb(a) or hsl(a); anything else is ignored. |
| Image | Swatch image | Select Image opens the Media Library ("Select swatch image" → "Use this image"); Remove clears it. "A square image works best." |
| Label | Swatch label | Optional short text, up to 40 characters, e.g. "XL". "Leave empty to use the term name." |
| Dropdown (no swatch) | Swatch | A note: "This attribute has no swatch type. Set its "Swatch type" to Color, Image or Label on the Products -> Attributes screen to add swatch details here." |
| Two-tone color Pro | First color · Second color | Two color pickers. Leave the second empty for a single color. See Two-tone color. |
| Radio buttons Pro | Swatch label | Same as Label. |
| Image + label Pro | Swatch image | Same as Image; the term name is shown under it. |
- Product Color terms list with the Swatch column showing each term's color circle
- Add new Color form with the Swatch color picker
- Other plugins' term fields were removed from the page for this screenshot
- Edit Color screen for Black: Name, Slug, Description
- Swatch color picker set to black: "The color shown for this term's swatch."
- Other plugins' term fields were removed from the page for this screenshot
An empty field removes the stored value. If you change an attribute's swatch type later, values you entered for the old type are kept (a term can have a color, an image and a label at the same time); only the field for the current type is shown.
The Swatch column
The term list gets a Swatch column: a color circle, a 32×32 image or the label text (the term name if no label is set). It shows a dash when a color or image is missing, which makes it easy to spot unfinished terms.