🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 19, 2026

How to Add Color Swatches to WooCommerce Products (Instead of Dropdowns)

GravityExtra
How to Add Color Swatches to WooCommerce Products (Instead of Dropdowns)

Open almost any WooCommerce store and pick a product that comes in several colors. Chances are you will meet a grey dropdown that says “Choose an option”. The customer has to click it, read a list of color names, guess what “Oatmeal” or “Heather” looks like, pick one, and then repeat the process for the size. It works, but it hides the most visual decision of the purchase behind a text menu.

Color swatches fix that. This guide explains why swatches sell better than dropdowns, which swatch type fits which attribute, how to set up color, image and label swatches in WooCommerce step by step, how to deal with sold-out and impossible combinations, and how to bring swatches to the shop page so customers can see every color before they even open a product.

Why Dropdowns Cost You Sales

A dropdown asks the customer to imagine. A swatch shows. That difference matters most on small screens, where a select menu opens a system picker that covers the page and the product photo. Customers cannot compare “Forest” with “Navy” side by side, they cannot see which sizes are left, and they often do not notice that a second option still needs to be chosen until they press Add to cart and see an error.

Swatches put every option on the page at once. The customer sees the full palette, taps a color and sees the photo change, and sees immediately which sizes are available in that color. Fewer taps, fewer surprises, fewer abandoned product pages.

What the customer gets Swatches Dropdowns Product photos only
Seeing all colors at once Yes, as circles or images No, hidden in a menu Yes
Photo changes with the color Right away Only after every option Yes
Sold-out values marked Crossed out, still clickable Shown as normal Depends
Impossible combinations Crossed out, faded or hidden Removed from the list Usually removed
Colors on the shop page Yes, with photo on hover No Rarely

Pick the Right Swatch for Each Attribute

  • Color swatches for solid colors and finishes. Use two halves for two-tone or heathered products so customers see both shades.
  • Image swatches for patterns, fabrics, prints, wood grains and stone. A close-up photo says more than any color code.
  • Label buttons for sizes, capacities, lengths and weights: S, M, L, XL or 250 g, 500 g, 1 kg.
  • Radio buttons for two or three longer choices such as Regular fit and Relaxed fit, where the full name matters.
  • Dropdowns still have a place: a list of 40 engraving fonts or 60 countries is easier to scan as a menu.

Mixing types on one product is normal. A tee might use color swatches for Color and label buttons for Size; a tote might use image swatches for Pattern and keep a dropdown for Material.

Step-by-Step: Add Color Swatches in WooCommerce

Step 1: Use global attributes

Swatches work best with global attributes, created once under Products → Attributes and shared by all products: Color, Size, Pattern and so on. Each value (a term) then carries its color, image and tooltip, and every product that uses it shows the same swatch. If you have typed colors as custom attributes on each product, it is worth moving the common ones to a global attribute — it also gives you color filters in the shop sidebar.

Step 2: Choose a type per attribute

With the WooCommerce Swatch Picker Add-on installed, open WooCommerce → Swatch Picker. Every attribute is listed with a Show as setting: color swatches, image swatches, label buttons, radio buttons or the default dropdown. A preview of the values shows how each attribute will look.

The Swatch Picker screen in the WordPress admin listing the product attributes Color, Fit, Material, Pattern and Size, each with a Show as setting (Color swatches, Radio buttons, Dropdown, Image swatches, Label buttons) and a preview of its values
Choose how each attribute is shown and preview its values in one place.

Step 3: Give every value its color or image

Click Edit values and open each value. Pick a color with the color picker, add a second color for two-tone products, or choose a close-up image for patterns. Add a tooltip where the name alone is not enough, such as chest measurements on a size button. Use the same photo style for all image swatches — same distance, same light — so they read as a set.

Step 4: Check the product page

Open a product. The dropdowns have become swatches, the chosen value appears next to the attribute name, and the photo switches as soon as a color is chosen. WooCommerce still does the matching, prices and stock, so nothing changes in your cart, checkout or orders.

A WooCommerce product page for the Organic Crew Tee with round color swatches for Forest, Navy, Oatmeal and Rust and size buttons S, M, L and XL; Forest and M are chosen, the labels read Color: Forest and Size: M, the photo shows the green tee and a tooltip reads Navy
Color swatches and size buttons on the product page; the photo follows the chosen color.

Step 5: Handle the special cases per product

Some products have options that exist only on them, such as the shade of a single cushion cover. The product’s Swatches tab lets you show such custom attributes as swatches with their own colors, images and labels, or turn one attribute back into a dropdown on a single product.

Sold Out vs. Not Made: Show the Difference

Two kinds of “not available” confuse customers when they look the same. A combination that does not exist — a color that is never made in XL — should simply not be choosable: crossed out, faded or hidden. A combination that exists but is sold out is different: the customer may want to know when it is back, so it should be marked but still clickable, leading to the out-of-stock message or a back-in-stock form.

Good swatches handle both automatically from your variations. As soon as a customer picks a color, sizes that do not exist in that color are crossed out, and sizes that are sold out are crossed out and faded but still open. No manual tagging is needed; the swatches follow your stock.

Bring Swatches to the Shop Page

Customers decide which product to open on the shop and category pages. A row of small color circles under each product tells them, before they click, that the tee comes in four colors and the beanie in eight. Pointing at a color shows that color’s photo, and clicking it opens the product with that color already chosen, so only the size is left.

A WooCommerce shop page with four products, each with a row of swatches under its title: color circles for a cushion cover, fabric pattern images for a tote bag, colors for a tee whose photo has switched to navy, and five colors plus a +3 link for a beanie
Shop page swatches: colors and fabric patterns under each product, with the photo switching to the color under the pointer.

Keep the row short. Five swatches and a “+3” link look calmer than twelve tiny circles, and the full palette is one click away.

Best Practices for Swatches That Convert

  1. Use real colors. Sample the color from your product photo rather than picking a generic red; customers compare the swatch with the photo.
  2. Give every variation a photo. A swatch that changes the photo is far more convincing than one that only changes a label.
  3. Name colors clearly. “Forest green” in the tooltip is better than an internal code.
  4. Keep sizes as buttons. Buttons let customers see at a glance which sizes are left in their color.
  5. Make them big enough to tap. 36 pixels or more works well on phones.
  6. Test with the keyboard. Swatches should be reachable with Tab and the arrow keys and announced by screen readers.

Common Mistakes to Avoid

  • Hiding sold-out colors. If a color simply disappears, customers think you never made it. Cross it out instead and let them ask for a restock.
  • Different swatch shapes per product. Keep one shape and size across the store so the page looks calm.
  • Empty swatches. A color swatch without a color is useless; the add-on shows the name as a button until you add the color, but fill them in before launch.
  • Swatches for every attribute. A long list of fonts or engraving options is easier as a dropdown.

Measuring the Effect

Swatches are easy to judge with the numbers you already have. Before switching, note the add-to-cart rate of your best-selling variable products for a month, and how often customers press Add to cart without choosing every option. After switching, compare the same month-long window. Most stores see the biggest change on mobile, where dropdowns are hardest to use, and on products with many colors, where the swatches finally show the whole range.

Look at your support inbox too. Questions such as “Is the navy available in small?” or “What does oatmeal look like?” usually become rare once customers can see the colors and the crossed-out sizes for themselves. Fewer questions and fewer returns for the wrong color are part of the gain, even if they never show up in a conversion report.

Performance and Compatibility

Swatches should never slow down a product page. The add-on draws them from the attribute data WooCommerce already loads, adds one small stylesheet and one small script, and makes no calls to outside services. It works with block themes and classic themes, the Cart and Checkout blocks and the classic checkout, and stores orders exactly as WooCommerce does, with high-performance order storage on or off.

Let Customers See the Options They Are Buying

Color, image, label and radio swatches on product and shop pages, with out-of-stock marking and photos that follow the color.

Frequently Asked Questions

Do swatches change my orders or reports?

No. The customer chooses the same variation as with dropdowns, so orders, stock and reports are unchanged. Deactivating the add-on simply brings the dropdowns back.

Can I use photos instead of colors?

Yes. Image swatches use a picture per value, ideal for patterns, fabrics and finishes, and color swatches can show two colors for two-tone products.

What about attributes that exist on one product only?

Use the product’s Swatches tab: custom attributes can get their own swatch type, colors, images and labels there.

Do swatches work on phones?

Yes. Swatches wrap onto new lines on small screens and are sized for tapping, so the page never scrolls sideways.

Can I show swatches on the shop page only for colors?

Yes. By default the shop page uses the first color or image attribute of each product, or you can choose one attribute for the whole store and limit the number of swatches shown.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr