Chapter 3 — Setting Up Variable Products

Now that your attributes are set up with swatches, it is time to attach them to a product. This chapter covers creating or editing a Variable Product so your swatches actually show up in your store.


What is a Variable Product?

A Variable Product is a WooCommerce product type that lets a single product listing offer multiple options — for example, a moisturizer that comes in Rose Blush, Ivory Cream, and Midnight Black. Each combination of options is called a variation.

When you use Chiseiko Essential Swatches, those options will appear as color circles or image buttons instead of dropdown menus.

Already have a variable product? Skip to Step 3.


Step 1 — Create or Open a Product

  1. Go to Products → Add New (or click an existing product to edit it).
  2. Give your product a Title and fill in a description.
  3. Scroll down to the Product data box.

Step 2 — Set the Product Type to "Variable Product"

  1. In the Product data dropdown (top-left of that box), select Variable product.

The tabs on the left side of the Product data box will change. You should now see tabs like: General, Inventory, Shipping, Attributes, and Variations.


Step 3 — Add Your Attribute to the Product

  1. Click the Attributes tab inside the Product data box.
  2. In the dropdown that says "Add existing attribute or custom attribute", select the attribute you created earlier (e.g., Color).
  3. Click Add.

The attribute will expand to show its options.

  1. In the Value(s) field for your attribute:
  2. Make sure the checkbox "Used for variations" is ticked.
  3. Click Save attributes.

The Product data box on the Attributes tab, with the Color attribute added and the “Used for variations” checkbox highlighted

Important: The "Used for variations" checkbox MUST be checked for the swatch buttons to appear on the product page.


Step 4 — Create the Variations

  1. Click the Variations tab.
  2. In the dropdown that says "Add variation", choose Create variations from all attributes.
  3. Click Go.

A confirmation popup will ask how many variations will be created. Click OK.

WooCommerce will automatically generate one variation for every combination of your attribute options. For example, if you have 4 colors, it will create 4 variations.

  1. For each variation, click the triangle/arrow on the left to expand it and set:

  2. Click Save changes at the bottom of the Variations tab.

The Variations tab listing one variation per color, with Generate variations and Add manually buttons


Step 5 — Publish the Product

Scroll back up and click Publish (or Update if editing an existing product).


Step 6 — Check Your Store

  1. Click View product at the top of the edit screen (or visit your product page directly).
  2. Scroll down to where customers select attributes.

Instead of a plain dropdown menu, you should now see swatch buttons — colored circles, images, or text pills, depending on what you configured in Chapter 2.

A product page showing color swatch buttons in place of the variation dropdown


How Swatches Behave on the Product Page

Here is what customers will experience:


Swatches in the Shop / Archive Page

Even without any extra setup, your swatches also appear on the Shop page and Category pages as a small strip below each product card. This gives customers a peek at available colors before they click through to the product.

A shop product card with a small swatch strip beneath it


What if My Swatch Buttons Don't Appear?

Check the following:

  1. The attribute is set to "Used for variations" (see Step 3 above).
  2. The product type is Variable product (not Simple).
  3. You have saved/updated the product after adding the attribute.
  4. At least one variation has been created and has a price.

Still not working? See Chapter 24 — Troubleshooting.


Working with Multiple Attributes

You can attach more than one attribute to a product. For example, a product might have both Color and Size. Just repeat Step 3 for each additional attribute.

Each attribute will appear as its own row of swatch buttons on the product page. The label above each row will be the attribute name (e.g., "Color", "Size").

A product page with two swatch rows — Color and Size — each on its own labeled line


Tip: Custom Product Attributes vs. Global Attributes

WooCommerce has two kinds of attributes:

Type Description
Global attribute (recommended) Created at Products → Attributes. Shared across all products. Swatch settings apply everywhere.
Custom attribute Created directly on a product. Only used for that one product. Swatches cannot be configured for custom attributes — they will always appear as text pills.

For best results with swatches, always use Global attributes.