WordPress plugin intelligence profile

Swatchline – Variation Swatches for WooCommerce

Colour, image and label swatches instead of dropdowns for variable products, with sold-out combinations crossed out. Classic and block themes.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.5 · PHP 7.4
Directory statusactive
Last directory update23 Oct 202610d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Swatchline – Variation Swatches for WooCommerce version 1.0.1 as active, updated 10d ago and tested up to WordPress 7.1.

Overview

About this plugin

Let customers pick a colour by its colour, a finish by its photo and a size by a button. Swatchline turns the attribute dropdowns of your variable products into swatches. No code, and nothing to change on your products.

Set up once, per attribute

  • Choose a swatch type for each global attribute under Products → Attributes: Colour, Image, Label (buttons) or Dropdown (WooCommerce’s own, the default).
  • Give each value a colour (WordPress’s colour picker) or an image (from the media library) under Configure terms. The term list shows them in a Swatch column.
  • Attributes you type on a single product can show as label swatches too, if you switch that on.

On the product page

  • Swatches replace the dropdowns of the variation form. WooCommerce’s dropdowns stay in the form, hidden, so the price, image, stock and add to cart update exactly as they always do, and so does anything else that works with them.
  • Combinations that can’t be bought are crossed out: out of stock, or no such variation with what the customer already chose. That works for products with any number of variations, also above the number where WooCommerce stops loading them all into the page.
  • The chosen value shows next to the attribute’s name (“Colour: Sage”). WooCommerce’s Clear link clears the swatches; choosing a chosen swatch again clears it too.
  • Tooltips with the value’s name, and a larger preview for image swatches.
  • Accessible: each attribute is a radio group, so the keyboard’s arrow keys move between swatches, the focus is clearly visible, and screen readers read out each value and whether it’s out of stock.
  • Works in classic themes such as Storefront and in block themes: in the Add to Cart Form block and in the Add to Cart + Options block, where Swatchline’s swatches take the place of the block’s text chips.

Settings

Under WooCommerce → Settings → Products → Swatches: the shape (circle, rounded or square), the size, how the chosen label swatch looks, tooltips and image previews, the chosen value next to the name, and label swatches for custom attributes.

For developers

Swatchline is built to be extended: add swatch types ( swatchline_swatch_types ), change an attribute’s type on a product ( swatchline_attribute_type ), its swatches, colours and images ( swatchline_attribute_swatches ), the variation data the page uses ( swatchline_variation ) and the script’s settings ( swatchline_frontend_config ). swatchline_loaded fires once Swatchline has loaded. com.

Swatchline Pro

The separate Swatchline Pro add-on adds swatches on shop and category pages and in Product Collection blocks (with the product image changing to the variation’s, and add to cart from the shop), swatches set per product (also for custom attributes), sold-out swatches blurred or hidden, two-colour swatches, image swatches from the variations’ own images, and swatches in the shop’s attribute filters. Everything described above is in this plugin and works without it. com/plugins/swatchline.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • color swatches
  • image swatches
  • product variations
  • variation swatches
  • woocommerce
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.5 · PHP 7.4
Update activity23 Oct 202610d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.