Description
Variation Swatches Master for WooCommerce replaces the dropdowns of variable products with swatches that shoppers click: colors, images, buttons and radio buttons. It works on single product pages and, when you turn it on, on the product cards of the Shop page, archives, search results and related products.
WooCommerce’s own variation form stays in charge. A swatch chooses the value of WooCommerce’s dropdown, so the price, the stock message, the product image and the add to cart button work as they do without the plugin.
Swatches
- Four attribute types for WooCommerce’s global attributes: Color, Image, Button and Radio.
- Color swatches with one color, or with two or more colors and a choice of eight split styles.
- Image swatches with an image of your media library, in a fitting size and loaded when needed. An Image attribute can also show each variation’s own image instead.
- Attributes of WooCommerce’s default type, and attributes added to a single product, are shown as buttons with their names. A single product’s own attributes can also get colors or images, in the product’s “Swatches” tab.
- WooCommerce’s own “Color / image” attributes can be shown as swatches on classic themes.
On product pages
- Tooltips with the term’s name, an optional tooltip text, an optional larger image and the term’s description.
- The chosen value beside the attribute label (“Color: Blue”).
- Options that cannot be bought with the options already chosen are faded, crossed out or hidden. On products with more than 30 variations they can be marked before the choice is complete (by default on products with up to 1,000 variations; larger products are shown and sold as usual).
- A click on the chosen swatch can clear the choice.
- Swatches beside the values of color and image attributes in the “Additional information” tab.
On product cards
- Swatches with WooCommerce’s add to cart form on the cards of variable products, before or after the button, or over the image or above the title on classic themes.
- The card’s image and price follow the chosen variation.
- Adding the chosen variation and quantity to the cart without reloading the page, through WooCommerce’s own cart.
- A “+N” button after a set number of swatches per attribute.
- Choose which attributes show on cards, store-wide or for a single product.
- Swatches in WooCommerce’s classic “Filter Products by Attribute” widget.
Appearance and settings
- Square or rounded swatches, width, height and text size, separate sizes for cards and for phones, the space between swatches and their alignment, and colors for the selected swatch, hover and tooltips.
- Settings per product: swatches on or off, the type of each attribute, and whether it shows on cards.
- Export and import of the swatch data, the product CSV column “Swatch settings”, and the swatch data in WooCommerce’s REST API.
- Optional removal of the plugin’s data when it is deleted.
- Keyboard use: the swatches of each attribute are a radio group. Tab reaches the group and the arrow keys choose an option.
- Classic themes and block themes, quick views and product lists that load more products. Ready for translation.
The plugin loads nothing from other websites and collects no data.
Free and Pro
This plugin is free. Pro, WooCommerce Variation Swatches Master, is a separate premium plugin by the same author; its settings page looks the same. This plugin’s settings page shows Pro’s other settings under “Pro preview”, and its “Free vs Pro” tab compares both. Pro adds, among others:
- Shareable links that keep a choice, the last choice remembered in the browser tab, and stock hints.
- The product image following a partial choice, and card images that preview on hover.
- Layouts for long lists: a “+N” limit and a scroll row on product pages, stacked options and an accordion.
- Store-wide custom attributes, styles and limits per product, swatch groups and a type per term.
- Hiding the quantity field and your own add to cart text on cards (buying from cards is free).
- A shortcode and a block, vendor dashboards (Dokan, WCFM, MultiVendorX), Polylang and WP-CLI.
Full feature list and live demo: https://wpdemo.redefiningtheweb.com/woocommerce-variation-swatches-master/features/
Pro reads the colors, images, texts and settings that this plugin saves, so they are kept if you move to Pro. This plugin pauses itself while Pro is active.
Installation
- Install and activate WooCommerce.
- In WordPress, go to Plugins > Add New Plugin, search for “Variation Swatches Master for WooCommerce”, then click Install Now and Activate.
- Go to Products > Attributes, edit an attribute and choose its type: Color, Image, Button or Radio. The plugin’s “Global attributes” tab offers the same.
- Click “Configure terms” for that attribute, edit each term, and choose its colors, its image, or an optional tooltip text.
- Check the settings under “Variation Swatches Master” in the admin menu. Swatches on product cards are turned on in the “Shop Page Variations” tab.
FAQ
Where do the swatches show?
On the single product pages of variable products, above WooCommerce’s quantity field and add to cart button. With “Show swatches on product cards” on in the “Shop Page Variations” tab, also on the product cards of variable products in every product list.
What does a term without a color or image show?
Its name, as a button.
I updated from version 1.1.0 or 1.0.1. Is my data kept?
Yes. The plugin has a new name since 1.2.0 (it was Variation Swatches Master Lite for WooCommerce), but it is the same plugin: it updates in place. The colors, texts and settings saved earlier are read where they are, and nothing is deleted. A term is saved in the newer format only when you save it again. New settings are off until you turn them on. If data saved earlier would change your storefront (for example terms with several colors or images, or settings saved by Pro), the storefront stays as it was with 1.1.0, and the settings page lists what would change, until you save the settings.
Does the plugin delete its data when I delete it?
Only when you turn on “Delete all swatch data when the plugin is deleted” in Advanced Settings, and only while Pro is not installed. WooCommerce’s attributes, terms and their order are never deleted.
Screenshots







Changelog
1.2.0
- Changed: the plugin is now called Variation Swatches Master for WooCommerce (it was Variation Swatches Master Lite for WooCommerce). Its folder, settings and data are unchanged, so it updates in place.
- New: Image swatches, color swatches with several colors and eight split styles, and variation images as swatches.
- New: swatches and WooCommerce’s add to cart form on product cards, with the card’s image and price following the choice, adding to the cart without reloading, a “+N” button, card positions, and attributes chosen for cards.
- New: the chosen value beside the label, clearing a choice by clicking it again, “blur with cross” for options that cannot be bought, marking them on products with many variations, image tooltips and term descriptions in tooltips.
- New: swatches in “Additional information” and in the attribute filter widget, and WooCommerce’s own color and image attributes on classic themes.
- New: colors for the selected swatch, hover and tooltips; spacing, alignment, card sizes and phone sizes.
- New: settings per product, a swatch column in term lists, a color suggested from the term’s name, export and import, the product CSV column, REST API fields, and optional data removal.
- Changed: the settings page has the layout of Pro: a sidebar with tabs, and cards. Pro’s other settings are shown as a “Pro preview” that cannot be changed.
- New: a “Free vs Pro” tab that compares this plugin with Pro. It only shows information.
- Changed: settings have short labels; their explanations open from a help icon beside each label (hover, keyboard focus or tap).
- Updated stores keep their storefront until the new settings are saved, when data saved earlier would change it.
1.1.0
- Security: the settings page, the attribute types and the term fields check a nonce and the user’s permission, and all output is escaped. Only store managers can change the settings.
- Removed: the options shown as premium features in 1.0.1, the icon fonts loaded from other websites, and the bundled interface libraries.
- Changed: swatches follow the order of WooCommerce’s dropdown for each attribute (the attribute’s sort order).
- Fixed: each swatch list works with the form of its own product; colors chosen on the “Add new” term form are saved; “Show attribute label”, “Hide” and the sizes apply; PHP 8 warnings.
- New: keyboard use, radio group roles for screen readers, and tooltips for keyboard focus.
- Requires WordPress 6.8, PHP 7.4 and WooCommerce 10.4 or later.
1.0.1
- Compatibility with PHP 8 and newer WordPress and WooCommerce versions; minor fixes.
1.0.0
- First release.
