• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WP Desk = premium plugins for WordPress & WooCommerce
  • Plugins
        • Checkout & OrdersMake your work easier and automate the orders. Adjust the order form to your needs and make it more useful to your customers. Print order labels directly from WooCommerce. Put the orders in order using our plugins. Find out how to streamline the procurement process in your store.
          • Flexible Checkout Fields
          • Active Payments
          • Automatic Payment Status
          • Flexible Refund and Return Order
          • Print Orders and Address Labels
          • Flexible Subscriptions Recurring Shipping
          • Flexible Subscriptions Payment Retry
          • Flexible Subscriptions Stock Management
        • ProductsThese plugins will help you manage your WooCommerce products. Here you will find the plugins to import and update products from XML or CSV files. Then you can change the product unit of measure, show the lowest price in the last 30 days (Omnibus Directive), or let customers name the product price!
          • Flexible Product Fields
          • Dropshipping Import Products
          • Dropshipping FTP Import Products
          • Dropshipping Export Products
          • Custom Price
          • WP Desk Omnibus
          • Flexible Quantity Calculator
          • Dropshipping Orders Export
        • MarketingPromote your store online. Add products from your shop to price comparison websites directly from WooCommerce. Acquire new customers and communicate with your existing ones. Build a customer base and communicate with clients using one of the most effective marketing tools, namely e-mail marketing. Check out our promotional tools!
          • Flexible Pricing
          • Flexible Wishlist - Analytics & Emails
          • OLX WooCommerce
          • Flexible PDF Coupons
          • ShopMagic
          • Flexible Invoices
  • Bundle🔥
  • WP Desk Care
  • Support
  • Blog
  • My Account
  • 0

More results

Color swatches for WooCommerce products with a free plugin

Plugin Tutorials, WooCommerce product fields

Tomasz Drzewiecki3 minutes readUpdated: 2021-05-28Updated: 2026-06-08
blog category heading image

Enabling color swatches and more product options for WooCommerce products can increase your sales. The most popular solution is a WooCommerce product with variations. Today, I will show you how to change the product colors with swatches for simple and variable products and add custom fields using a free WooCommerce plugin!

Contents

    • Flexible Product Fields for WooCommerce
  • Variable Products in WooCommerce
  • WooCommerce color swatches with a free plugin!
    • Flexible Product Fields for WooCommerce
  • WooCommerce color swatches - a step-by-step guide
    • Product fields customization
    • Customizing WooCommerce color swatches with CSS
    • WooCommerce swatches on the product page
  • Summary and more about custom fields
    • Flexible Product Fields for WooCommerce
    • Related Articles
  • Color Picker for a WooCommerce product page
  • WooCommerce advanced custom fields: a FREE product & checkout customizer
  • Add a checkbox and multiple options to a WooCommerce product page
  • Add a gift wrap option for a WooCommerce product
  • WooCommerce custom fields for variations for better variable products

Flexible Product Fields for WooCommerce

Change WooCommerce colors adding Radio fields with colors. WooCommerce swatches are made simple with Flexible Product Fields.

Download or Go to WordPress.org
WP Desk
10,000+ Active Installations
Last Updated: 2026-08-20
Works with WooCommerce 10.7 - 11.1

Giving no product options can discourage your customers from buying. On the other hand, as you know, variable products are not always the best choice.

Let me show you how to enrich WooCommerce products with color swatches, more product options, and custom fields. What's important, I will use a free product builder plugin for WooCommerce. Let's begin!

Variable Products in WooCommerce

By default, you can use a few WooCommerce product types, including simple and variable products.

The WooCommerce simple product is easy to set up, but if you want to add color options, they may not suffice. When you need to add color swatches, WooCommerce variable products may be a better choice.

Variable products: variations

Your customers will see the WooCommerce product with 3 options.

Variants on the product page

Read more on how to add a WooCommerce product with variations.

I think you may want to add color swatches more attractively!

WooCommerce color swatches with a free plugin!

You can easily add as many color swatches as you like.

Flexible Product Fields - field after CSS changes
WooCommerce product variation swatches added with Flexible Product Fields

Visualizing the selected option that the client chooses will give a better effect than the text itself. This rule is even more important when it comes to the color of the product. Inserting color swatches for WooCommerce products will minimize dissatisfaction with the wrong color selection and make the website look nicer.

💡 The Radio with colors field lets you add color swatches to your WooCommerce products.

✅ Download the FREE version of Flexible Product Fields and add a new Radio with color fields.

Flexible Product Fields for WooCommerce

Change WooCommerce colors adding Radio fields with colors. WooCommerce swatches are made simple with Flexible Product Fields.

Download or Go to WordPress.org
WP Desk
10,000+ Active Installations
Last Updated: 2026-08-20
Works with WooCommerce 10.7 - 11.1

👀 Also, have a look at the video, which will show you what this plugin can do in the free version:

WooCommerce color swatches - a step-by-step guide

Adding such a field is quite simple and thanks to CSS it will be possible to adjust it, e.g. to change the shape or size. Follow the steps below:

1️⃣ First, go to the WordPress dashboard → Products → Product Fields.

Add color swatches
Flexible Product Fields in the WordPress Menu

2️⃣ Then, add a new Group or select an existing Group. If the Group is a new one - give it a name (e.g. "Color options") and add it to products/categories or tags.

Radio with colors
Create a new fields group

3️⃣ Next, add a new field. Go to the Option Fields category and select Radio with colors from the options list.

Adding color swatch to WooCommerce product page
Choose the Radio with images

4️⃣Finally, enter the field label, which will also be your field name. Let’s say, "Product color".

Label for a color swatch field
Give your new field a label

Product fields customization

✅ Now let's see the additional plugin options:

  1. Also, read our Documentation if you need more information on each of the fields you will see at this point:

    WooCommerce product variation swatches
    Color Swatches: different field types
  2. Fill in the fields with the information you want to display on your WooCommerce product page.

    Change WooCommerce colors adding a Radio with color field type
    Color Swatches configuration
  3. Go to the Advanced tab. Here you can change the Single item width in px:

    WooCommerce product variation swatches - Advanced tab
    Radio with colors field type WooCommerce product page
  4. You can also set the pricing (fixed or percentage) or use another option (e.g. conditional logic) if needed. For example, let's add a CSS class e.g. "custom-color-swatches" to customize the field style.

    Pricing for color swatches
    Setting pricing for Color Swatches. You can choose from a fixed or percent price type for each option.

Customizing WooCommerce color swatches with CSS

It is not required but it is possible to paste CSS code on the page to customize the color field. But, of course, you may use the CSS class assigned in the 4th step e.g. custom-color-swatches.

Hiding the caption under the image

/* Color swatches for WooCommerce products - no caption under the image */
div.fpf-radio-images p.custom-color-swatches input+label span {
    display: none;
}

Changing the image size to 50 px and the frame size to 10 px

/* Color swatches for WooCommerce products - 50 px images and 10 px border */
div.fpf-radio-images p.custom-color-swatches input+label {
    width: calc(50px + 2*10px);
}
div.fpf-radio-images p.custom-color-swatches input+label img {
    width: calc(50px + 2*10px);
    height: calc(50px + 2*10px);
    border: 10px solid transparent;
}

Change the border color (when selected) to #d3d3d3

/* Color swatches for WooCommerce products - border color (selected) #d3d3d3 */
div.fpf-radio-images p.custom-color-swatches input:checked+label img {
    border-color: #d3d3d3;
}

Change the shape of the image to a circle

/* Color swatches for WooCommerce products - circle-shaped images */
div.fpf-radio-images p.custom-color-swatches input+label img {
    border-radius: 50%;
}
💡 Do you need some further guidance on CSS classes? You might find our article on Custom Fields Customization with CSS useful.

WooCommerce swatches on the product page

Let's see now the final effect and color swatches options on the WooCommerce product page!

Flexible Product Fields - field after CSS changes
WooCommerce product variation swatches added with Flexible Product Fields
💡 You may also read about the free WooCommerce 3d product configurator to sell customizable products like a car, computer, or furniture.

Summary and more about custom fields

Color swatches for WooCommerce products are an important element that attracts the attention of the customer.

Of course, this solution will work for a wide range of shops as it is quite simple to adapt to a specific website. Also, it is possible to insert a pattern or an image (showing e.g. the texture of the product) instead of the color.

You can achieve the effect you are looking for thanks to the Radio with colors field type, which you will easily add and customize while using the Flexible Product Fields plugin.

Flexible Product Fields for WooCommerce

Change WooCommerce colors adding Radio fields with colors. WooCommerce swatches are made simple with Flexible Product Fields.

Download or Go to WordPress.org
WP Desk
10,000+ Active Installations
Last Updated: 2026-08-20
Works with WooCommerce 10.7 - 11.1

Additionally, you can find more field types in the free version of the plugin, for example:

  • text fields - Email and URL
  • option fields - Multi-checkbox and Radio with colors
  • picker fields - Time and Color
  • and other fields for formatting the product page - Paragraph or HTML for inserting text and Image

Related Articles

Color picker for a WooCommerce product page

Color Picker for a WooCommerce product page

The Flexible Product Fields plugin extends WooCommerce product options with additional fields. It helps you to personalize your product page as you se...
Advanced custom product fields for WooCommerce products

WooCommerce advanced custom fields: a FREE product & checkout customizer

Are you looking for a way to easily customize your WooCommerce? Let's build advanced product and checkout pages with custom fields in WooCommerce with...
WooCommerce add checkbox to a product page

Add a checkbox and multiple options to a WooCommerce product page

Learn how to add a checkbox, multi-select fields & more options for a WooCommerce product page with the FREE plugin! Let's find out how to add a c...
WooCommerce product gift wrap plugin

Add a gift wrap option for a WooCommerce product

Christmas is a special time and the peak of online sales. Shops refine their sales mechanisms and each product turns into a gift. Use additional produ...
WooCommerce custom fields for variations for better variable products

WooCommerce custom fields for variations for better variable products

Custom fields for simple products and variations can surely improve WooCommerce and enhance the built-in features of this e-commerce plugin. Read the ...

3 minutes read11649 views

Reader Interactions

Leave a Reply Cancel reply

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

Tomasz Drzewiecki

Tomek is a QA Engineer at WP Desk, working in IT since 2014 and part of the WP Desk team since 2020. His goal is to ensure WP Desk applications are...

Powered by WP Desk

WP Desk brings you great WooCommerce plugins. We strive to save your time and money by speeding up your processes. Use our plugins to build a better store. Awesome support included in the package.

Premium WooCommerce Plugins →
WP Desk › Blog › WooCommerce products › WooCommerce product fields › Color swatches for WooCommerce products with a free plugin

Primary Sidebar

Contents

    • Flexible Product Fields for WooCommerce
  • Variable Products in WooCommerce
  • WooCommerce color swatches with a free plugin!
    • Flexible Product Fields for WooCommerce
  • WooCommerce color swatches – a step-by-step guide
    • Product fields customization
    • Customizing WooCommerce color swatches with CSS
    • WooCommerce swatches on the product page
  • Summary and more about custom fields
    • Flexible Product Fields for WooCommerce

Flexible Product Fields for WooCommerce

Change WooCommerce colors adding Radio fields with colors. WooCommerce swatches are made simple with Flexible Product Fields.

Download or View Details
WP Desk
10,000+ Active Installations
Last Updated: 2026-08-19
Works with WooCommerce 10.7 - 11.1

Stay updated on our how-to articles

WP Desk news, WooCommerce tips, promo codes - right to your inbox.

By entering your e-mail, you agree to our Terms & Conditions and Privacy Policy.

By entering your e-mail, you agree to our Terms & Conditions and Privacy Policy.

Footer

WP Desk - WooCommerce Plugins

At WP Desk we create great WooCommerce plugins with awesome support. Save time and money with our e-commerce solutions. See how we can help you improve your e-store →

Secured by Comodo

WP Desk

  • About us
  • Giving Back
  • Blog
  • Get Support
  • Contact us

Products

  • Premium Plugins
  • WP Desk Care
  • Documentation
  • WooCommerce Invoices
  • Email Marketing
  • PDF Coupons

Legal

  • Terms & Conditions
  • Refund Policy
  • Support Policy
  • Privacy Policy

© 2026 WP Desk

We value your privacy

We use necessary cookies to make our site work. We'd also like to set additional cookies to understand site usage, enhance your browsing experience, and serve personalized ads or content. By clicking ‘Accept All,’ you consent to our use of additional cookies.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}