跳到内容

Soren Variation Swatches

v1.3.0

10nstudio · 2026年11月17日 上架

Turn WooCommerce variation dropdowns into fast, accessible colour, image, label and radio swatches. No upsell, no bloat.

正在使用
10 以下
评分
暂无
累计下载
115
最近更新
2026年11月17日
需要 WordPress 6.0+已测试到 7.1.5PHP 8.0+

贡献者

截图

Colour swatches on a product page, with the selected and out-of-stock states.
Colour swatches on a product page, with the selected and out-of-stock states.
Swatches under every variable product on the shop archive.
Swatches under every variable product on the shop archive.
General settings with a live preview of the selected style.
General settings with a live preview of the selected style.
Design options: size, spacing, radius, borders, colours and typography.
Design options: size, spacing, radius, borders, colours and typography.
Swatch type per attribute, including auto detect and product level attributes.
Swatch type per attribute, including auto detect and product level attributes.
Texts and labels for stock states, tooltips and screen readers.
Texts and labels for stock states, tooltips and screen readers.
Import colours and images from other swatch plugins.
Import colours and images from other swatch plugins.
Colour, dual colour, image and label fields on an attribute value.
Colour, dual colour, image and label fields on an attribute value.

A dropdown asks your customer to read a colour name and hope for the best. Swatches show the real thing: the fabric, the paint, the finish. Soren Variation Swatches replaces every WooCommerce variation select with clean, clickable swatches that look like part of your theme and work with a keyboard.

Built for real stores, not demos: swatches are rendered on the server, archive data is cached, assets load only where they are needed, and out-of-stock variations stay visible and honest instead of quietly disappearing.

Everything on this page is free

No watermark, no account, no external request, no variation limit. Every swatch type, style, layout, stock state and admin tool described on this page ships in this plugin. An optional Pro add-on is a separate plugin that adds different styles; this plugin contains none of its code and works fully without it.

At a glance

  • Six swatch types: colour, dual colour (split chip), image, label, radio and image + label.
  • Six styles and three layouts, chosen from the settings screen, not from CSS.
  • Product pages, shop and category archives, quick view popups and cart line items.
  • Per-product overrides, product-level attributes and a bulk value editor.
  • A real accessible radio group: keyboard navigation, focus ring, 44px tap targets.
  • No jQuery on the frontend, no external HTTP calls, no tracking, no account.
  • One-click import from Variation Swatches, ThemeHigh, YITH WooCommerce Swatches and WooCommerce core data.
  • Classic themes, block themes, page builders and HPOS: all supported.

Why swatches sell

A colour name is a label; a colour chip is the product. When a shopper can see the actual finish, fabric or flavour, they stop guessing, compare faster and add to cart with more confidence. That is the whole idea behind this plugin: show the option, do not describe it.

It matters most where the choice is visual: apparel and footwear, paint and finishes, fabric and wallpaper, cosmetics, coffee and tea, furniture, phone cases, and anything with more than three variants.

One swatch, six ways

  • Colour: a solid chip from a hex value, with an optional tooltip label.
  • Dual colour: two colours split across one chip for two-tone products.
  • Image: any media library image, cropped to a dedicated 96px size with srcset.
  • Label: short text such as S, M, L, XL or 128GB, sized to the content.
  • Radio: a compact, high-contrast dot for binary or small option sets.
  • Image + label: the thumbnail and the name together, for photographic catalogues.

Type is set per attribute, with an automatic mode that picks the right one from the data you already have. Any attribute can be reverted to the native dropdown, and a single product can override the global choice.

Everywhere your customers look

  • Product pages, including WooCommerce blocks and quick view popups.
  • Archives: shop, category, tag and search results, under every variable product.
  • Cart line items: the chosen colour or image appears next to the variation name.
  • Per-product overrides, so one hero product can look different from the rest.
  • Linked archive swatches: the value travels in the link, so the product page opens with it already selected.
  • Bulk value editor: fill colour, image, label and tooltip for many values on one screen.
  • Product-level attributes, not just global ones.

Design control without a page builder

  • Six styles: circle, soft square, sharp square, pill, outline and text chip.
  • Three layouts: inline, grid and label above.
  • Size, spacing, radius, border width, typography, alignment and every state colour.
  • Tooltips with three modes: value name, attribute label, or variation price.
  • A live preview in the settings screen shows the result before you save.
  • Everything is exposed as a CSS variable, so a theme or child theme can restyle swatches without a fork.

Accessible by construction

  • A real fieldset with native radio inputs, not clickable divs.
  • Arrow key navigation, a visible focus ring and 44px tap targets.
  • Screen readers announce the attribute, the value and whether it is unavailable.
  • Out-of-stock values are never removed silently, and colour is never the only signal.
  • The original WooCommerce select stays in the page, so nothing depends on JavaScript alone.

Fast on purpose

  • Server-rendered markup, one small stylesheet and one small script.
  • Conditional loading: nothing is added to pages without swatches.
  • A single cached payload per archive page, invalidated when products change.
  • No jQuery on the frontend, no external HTTP calls, no tracking.
  • Images ship a dedicated size, srcset, width and height to cut bytes and layout shift.

Your data stays yours

  • Colours and images live in standard WooCommerce term meta, so deactivating the plugin leaves your catalogue intact.
  • One-click import from Variation Swatches (GetWooPlugins), ThemeHigh, YITH WooCommerce Swatches and WooCommerce core attributes.
  • Auto-detect import for plugins that store term colours or images in their own meta keys.
  • Uninstall removes settings and term data only if you explicitly enable “delete data”.
  • HPOS (custom order tables) declared compatible.

Free and Pro

Everything listed above is in this plugin. A separate Pro add-on is available for stores that want more: additional swatch styles, and its own settings screen. It is a different plugin, it is not required here, and nothing in this plugin is locked, limited or time-restricted.

Built to be extended

  • Filters for settings, swatch data and rendered HTML, including soren_swatches_attribute_options, soren_swatches_option_disabled, soren_swatches_chip_html, soren_swatches_styles, soren_swatches_color_palette and the archive cache filters.
  • Attribute value meta exposed to REST for headless storefronts.
  • WP-CLI: wp soren-swatches import and wp soren-swatches flush.
  • Namespaced classes, no unguarded global functions, translation ready and RTL ready.

Who it is for

Store owners who sell variations and want the product page to look like the product. Developers who want a swatch layer with hooks instead of a page builder dependency. Agencies that need one plugin to behave the same on classic and block themes, with no external service to explain to a client.

Requirements

  • WordPress 6.0 or newer.
  • WooCommerce 8.0 or newer.
  • PHP 8.0 or newer.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums