We value your privacy

We use cookies to see how our site is used and to measure our ads. Necessary cookies are always on. Privacy policy

  • Skip to main content
  • Skip to footer
GS Plugins
  • Home
  • Plugins
    • Solid Testimonials iconSolid TestimonialsCustomer reviews & ratings
    • GS Logo Slider iconLogo SliderClient & partner logos
    • GS Filterable Portfolio iconFilterable PortfolioFilterable work galleries
    • GS Team Members iconTeam MembersTeam profiles & bios
    • GS Projects Showcase iconProjects ShowcaseProjects with details
    • GS Books Showcase iconBooks ShowcaseBook library & authors
    • GS Coaches iconCoachesCoaches & trainers
    • GS Posts Grid iconPosts GridBlog posts in grids
    • GS WooCommerce Product Slider iconWC Products SliderWooCommerce carousels
    • Variation Swatches iconVariation SwatchesColor & image swatches
    • WooCommerce Product Brands iconWC BrandsBrands for WooCommerce
    • GS Pinterest Portfolio iconPinterest PortfolioPins & boards
    • GS YouTube Gallery iconYouTube GalleryVideo galleries
    • BundlesAll Pro plugins, save up to 61%
    • All PluginsCompare all 14 plugins→
  • Bundles
  • Services
  • Blog
  • Account
Home/ Blog /GS Variation Swatches

Smartly Show Selected Color or Size Names Beside WooCommerce Swatches

Sarwar Zaman Written bySarwar Zaman PublishedAug 16, 2026 UpdatedSep 9, 2026 Reading time7 min
Smartly Show Selected Color or Size Names Beside WooCommerce Swatches
Variation Swatches icon

Made by GS Plugins

Try Variation Swatches

Replace variation dropdowns with color, image and button swatches.

  • Color, image & button swatches
  • Replaces variation dropdowns
  • Faster product choices
See the plugin
Summarize with
CChatGPTGGrokCClaudePPerplexityGGoogle AI
On this page3 sections
  1. Why Showing Selected Variation Names Matters
  2. FAQs
  3. Conclusion

WooCommerce variation swatches make product choices easier to understand visually. Customers can click a color circle, image, or size button instead of using a standard dropdown.

But there is one common usability problem. After clicking a swatch, shoppers may see which option is selected visually, yet they may not clearly know the actual color or size names they chose.

Showing those names beside the swatches makes the selection much clearer, especially when colors look similar or size buttons use abbreviations.

Here is how to handle it properly.

Why Showing Selected Variation Names Matters

This is also an accessibility win: pairing each swatch with its name follows the WCAG principle of not relying on color alone, so shoppers with color vision differences can still tell options apart. It is worth running your palette through a free color contrast checker to confirm every state is distinguishable.

Visual swatches are useful because customers can quickly scan available options. However, visual feedback alone is not always enough.

Imagine a product with colors such as:

  • Navy Blue
  • Midnight Blue
  • Royal Blue
  • Sky Blue

The swatches may look different, but the difference between them can still be difficult to understand.

Displaying the selected color or size names beside the variation label removes that confusion.

Instead of seeing only the following:

Color

the customer could see the following:

Color: Navy Blue

The same idea works for sizes:

Size: Large

This small improvement gives customers stronger confirmation before they add the product to their cart.

Free Version Pro Version Live Demo Documentation

1. Check Whether Your Swatches Plugin Supports Selected Labels

Before adding custom code, check your variation swatches plugin settings.

Many modern WooCommerce swatches plugins already include an option for displaying selected variation values.

Check Whether Your Swatches Plugin Supports Selected Labels
Check Whether Your Swatches Plugin Supports Selected Labels

Look through settings related to:

  • Selected attribute name
  • Selected variation label
  • Show selected value
  • Variation title
  • Attribute label
  • Selected term
  • Tooltip or label display

The wording will depend on the plugin you use.

If there is already a built-in option to show color or size names, using it is usually the safest solution.

Built-in functionality is easier to maintain because you do not need to worry about custom JavaScript breaking after a WooCommerce or theme update.

2. Check the Individual Attribute Settings

Some plugins control selected labels globally, while others let you configure them separately for each attribute.

Go to:

Products → Attributes

Then edit the relevant attribute, such as:

Color

or:

Size

Check whether the plugin adds additional settings for that attribute.

Check the Individual Attribute Settings
Check the Individual Attribute Settings

For example, you may discover options such as the following:

  • Show selected term
  • Display value beside label
  • Label position
  • Tooltip text
  • Attribute title format

If you want color or size names to appear beside the swatches, ensure that the selected value option is enabled.

Please save the attribute and then test the product page again.

3. Make Sure Your Attribute Terms Have Clear Names

Displaying selected variation values only helps when the attribute terms themselves are meaningful.

Make Sure Your Attribute Terms Have Clear Names
Make Sure Your Attribute Terms Have Clear Names

For example, avoid vague term names such as the following:

  • Color 1
  • Color 2
  • Dark
  • Light

Instead, use customer-friendly names such as the following:

  • Forest Green
  • Rose Pink
  • Charcoal Black
  • Ocean Blue

The same applies to size attributes.

Instead of relying solely on short labels such as S, M, and L, you can use clearer names when appropriate:

  • Small
  • Medium
  • Large
  • Extra Large

Your swatches can still display compact buttons, while the selected color or size names provide clearer feedback beside the attribute label.

4. Global Attributes Usually Work Better

If the swatches plugin cannot correctly detect the selected value, check whether you are using global WooCommerce attributes.

Global Attributes Usually Work Better
Global Attributes Usually Work Better

Global attributes are created from:

Products → Attributes

You can create:

Color

and then add terms such as

  • Red
  • Blue
  • Green
  • Black

You can do the same for Size.

Some swatch plugins work better with global attributes because each term has a consistent WooCommerce taxonomy.

Custom attributes created manually inside individual products may not provide the same level of control.

If color or size names are not appearing correctly, switching to global attributes is worth testing.

5. Show the Selected Value Beside the Attribute Label

A useful layout is to display the current choice directly beside the attribute name.

Show the Selected Value Beside the Attribute Label
Show the Selected Value Beside the Attribute Label

For example:

Color: Black

or:

Size: Medium

This works well because customers naturally look at the variation label before reviewing the options below it.

When they click another swatch, the selected text should update immediately.

For example:

Color: Black

becomes:

Color: Red

without refreshing the page.

This provides customers instant confirmation that WooCommerce registered their selection correctly.

Free Version Pro Version Live Demo Documentation

6. Keep the Label Close to the Swatches

Placement matters.

If you show color or size names far away from the actual swatches, shoppers may not immediately understand what the text represents.

Keep the Label Close to the Swatches
Keep the Label Close to the Swatches

The selected name should ideally appear as follows:

  • Beside the attribute label
  • Directly above the swatches
  • Directly below the selected swatch area

For most product pages, placing it beside the attribute label is the cleanest solution.

You should also avoid adding unnecessary headings or large text because the selected value is supporting information, not the main product title.

A simple structure works best:

Color: Lavender

● ● ● ●

7. Make Sure the Name Updates When Customers Change Options

One important detail is dynamic updating.

Make Sure the Name Updates When Customers Change Options
Make Sure the Name Updates When Customers Change Options

Suppose a customer selects:

Blue

and then changes the choice to:

Green

The displayed text should update immediately to Green.

If it remains Blue, the interface becomes misleading.

Variation swatches usually use JavaScript to track selections. Your plugin needs to update the displayed color or size names whenever a swatch changes.

Test several combinations before considering the feature complete.

Try:

  • Changing Color multiple times
  • Changing Size multiple times
  • Changing both Color and Size
  • Resetting variations
  • Selecting unavailable combinations

The selected text should always match the active variation.

8. Handle Reset Variation Properly

WooCommerce variable products often have a Clear or Reset variations option.

Handle Reset Variation Properly
Handle Reset Variation Properly

When the customer resets the product, the selected label should also reset.

For example:

Before reset:

Color: Blue

After reset:

Color

or:

Color: Choose an option

If the page still displays Blue after the selection has been cleared, customers may think that Blue is still selected.

This is another reason why using your swatches plugin’s native selected-value feature is preferable when available.

9. Test Mobile Product Pages

Do not check the feature only on desktop.

On smaller screens, long color or size names can wrap onto another line or push the swatches out of alignment.

Test Mobile Product Pages
Test Mobile Product Pages

For example:

Color: Limited Edition Midnight Blue

takes considerably more space than:

Color: Red

Open the product page on different screen sizes and confirm that the selected name remains readable without damaging the layout.

A simple responsive label usually works better than a heavily styled badge.

10. Avoid Making the Interface Too Busy

The purpose of displaying color or size names is clarity.

It should not complicate the variation section.

Avoid Making the Interface Too Busy
Avoid Making the Interface Too Busy

Avoid combining too many visual elements at the same time, such as:

  • Large tooltips
  • Multiple labels
  • Badges
  • Icons
  • Long descriptions
  • Popups

If the customer clicks a red swatch, it simply shows the following:

Color: Red

is usually enough.

Good WooCommerce product design helps customers make decisions without forcing them to consider the interface itself.

Avoid Costly Duplicate Colors and Sizes by Organizing Product Attribute Terms Read next Avoid Costly Duplicate Colors and Sizes by Organizing Product Attribute Terms Sarwar Zaman Sarwar Zaman Aug 22, 2026 Read article

FAQs

Why should I show color or size names beside WooCommerce swatches?

Showing color or size names gives customers clear confirmation of the option they selected. This is especially useful when several swatches have similar colors or when size buttons use abbreviated labels.

Can WooCommerce show selected variation names automatically?

WooCommerce tracks selected variation values, but the exact visual display depends on your theme and swatches plugin. Many swatches plugins include a setting that can show color or size names beside the attribute label.

Why are the selected color or size names not updating in WooCommerce?

This can happen if the swatches plugin’s JavaScript is not loading correctly, another plugin is interfering with variation scripts, or the theme modifies WooCommerce’s standard variation form.

Should I use global attributes for selected variation labels?

Global attributes are often easier for swatch plugins to manage. If color or size names are not appearing correctly with custom attributes, testing global WooCommerce attributes is a useful troubleshooting step.

Where should selected color or size names appear?

The most natural location is beside the attribute label, such as Color: Blue or Size: Medium. Keeping the selected value close to the swatches makes it easier for customers to understand their current choice.

Conclusion

Showing color or size names beside WooCommerce swatches is a small change that can make variation selection much clearer.

Start by checking whether your swatches plugin already supports selected labels. Then review the attribute settings, use clear global attribute terms, and make sure the selected value updates correctly when customers change or reset their options.

The goal is simple: let shoppers see exactly what they selected without adding unnecessary complexity to the product page.

Free Version Pro Version Live Demo Documentation
GS Variation Swatches
Found this useful? Share it
Variation Swatches icon

Made by GS Plugins

Try Variation Swatches

Replace variation dropdowns with color, image and button swatches.

  • Color, image & button swatches
  • Replaces variation dropdowns
  • Faster product choices
See the plugin
Sarwar Zaman
About the author

Sarwar Zaman

Hi, I'm Sarwar Zaman, founder of GS Plugins, creating tools that make WordPress effortless and powerful. When I’m not diving into code, I’m a dad who loves spending quality time with my family. Besides traveling and reading novels, writing blogs is the way I connect with people, sharing tips and stories to make the web a better place.

More articles by Sarwar Zaman

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

On this page

  1. Why Showing Selected Variation Names Matters
  2. FAQs
  3. Conclusion
Share
GS Logo Slider iconSolid Testimonials iconGS Team Members iconGS Filterable Portfolio icon All plugins bundle Get all 12 Pro plugins and save up to 61% See bundles WordPress services Need help with your site? Talk to our team. Book a free call

Keep reading

Related articles

View all
Easy Way to Fix WooCommerce Swatches Not Showing on Shop Page
GS Variation Swatches 7 min read

Easy Way to Fix WooCommerce Swatches Not Showing on Shop Page

Your swatches look perfect on individual product pages, but the moment you visit the Shop or Category page, they disappear. This is…

Sarwar ZamanSarwar Zaman Aug 31, 2026
Why All WooCommerce Swatches Show Out of Stock When Only One Variation Is Unavailable
GS Variation Swatches 7 min read

Why All WooCommerce Swatches Show Out of Stock When Only One Variation Is Unavailable

You mark one WooCommerce variation as unavailable. Then you open the product page and suddenly every color or size swatch appears disabled.…

Sarwar ZamanSarwar Zaman Aug 28, 2026
Out of Stock Variation Swatches Are Not Hidden, Blurred, or Crossed Out
GS Variation Swatches 7 min read

Out of Stock Variation Swatches Are Not Hidden, Blurred, or Crossed Out

A customer opens a variable product, sees several color or size swatches, clicks one, and only then discovers that the option is…

Sarwar ZamanSarwar Zaman Aug 25, 2026

Made by the GS Plugins team

Put these ideas to work on your site

Easy, well-supported plugins for logos, teams, portfolios, testimonials and WooCommerce. Start free, upgrade when you need more.

Explore plugins See bundles

Footer

GS Plugins

Build better WordPress sites, faster.Easy, well-supported plugins that save you hours of customization and development.

Resources

  • Documentation
  • Refund Policy
  • Privacy Policy
  • Terms of Use

Quick Links

  • About
  • Contact
  • Blog
  • Manage License
  • Affiliate Program
  • Sitemap

Free Tools

  • HTML Beautifier
  • HTML Minifier
  • CSS Minifier
  • CSS Beautifier
  • Case Converter

More Tools

  • Image Optimizer
  • JSON Minify
  • JSON Viewer
  • CSV to JSON
  • All Tools

Copyright © 2026 | GS Plugins, All Rights Reserved.

Cookie settings

4.6/5 · 540+ ratings on WP.org Paddle