Toggle Nav
My Cart 0

A Guide to Configuring Color Swatches in Magento 2

A Guide to Configuring Color Swatches in Magento 2

A Guide to Configuring Color Swatches in Magento 2

Catching the interest of prospective clients is crucial in the cutthroat world of online shopping. Visual indicators influence online buyers' buying decisions as they pursue product listings. Among these indicators, color swatches are particularly effective at improving browsing and making product selection easier. You may improve the aesthetics and usability of your Magento 2 store by setting up colors wisely. Setting up color swatches in Magento 2, a well-known e-commerce platform for its adaptability and customization options, is a calculated move that may dramatically improve your store's appearance and user experience.

What are Color Swatches in Magento 2?

Magento 2's color swatches illustrate product possibilities that improve online shoppers' browsing experience, especially color variations. Color swatches let buyers explore and select product alternatives using aesthetically pleasing color representations as an alternative to text or dropdown menus. Every available color option for a specific product is represented by a swatch, usually presented on product sites as tiny clickable squares or circles. Customers can see a realistic preview of how the product will look in their favorite color by clicking on the color swatch, which modifies the displayed product image to match the selected color variation.

Color swatches help clients make decisions more quickly by giving them a more dynamic and visually appealing way to view product possibilities. This increases conversion rates and enhances user happiness.

How to Configure Magento 2 Colour Swatches Option

Step 1: Add color Swatch

To set up Magento color swatches, navigate to Stores > Attributes > Products in the admin panel. Then, select and modify the color attribute in the "Product Attributes" grid.

Set the following properties in the "Attribute Properties" of the "Colour":

Configure the Store Owner's Catalog Input Type to Visual Swatch.

Update Product Preview Image – Yes

To add colors to your products, scroll down to the "Manage Swatch" section and enter values for each color. Additionally, you may choose the default color for the items in your store here.

Simply moving the color options in the "Manage Swatch" box will allow you to alter the order in which they appear. To save the settings after configuring the color swatches, click the Save Attribute button in the upper-right corner of the page.

To remove the current value, use the Backspace key in the color picker to input the six digits that indicate the new color's hexadecimal value in the # box. Next, select the Colour Wheel icon in the lower-right corner to preserve the swatch.

After finishing, select Save Attribute and use the Cache Management option to clear the cache.

Choose Upload a file from the swatch menu to upload a swatch image. Select that particular image from your PC. To use additional swatch pictures, follow these procedures again. In the Admin and Default Store View, enter the color label.

Step 2: Update your Product

After you've specified the Magento 2 color attribute for your store's products, it's time to apply it. The product color swatches can be updated in bulk rather than set separately for each product.

Bulk product update:

In the admin panel, navigate to Catalog > Products.

Use the filter option to sort the product list by SKU, name, type, or status to find the products to which you want to add color swatches.

After selecting every product you wish to apply color swatches, use the 'Update characteristics' action. To save the modifications, click the "Save" button located in the upper right corner of the page.

Individual Product update:

In Magento 2, you may also change each product's color swatch separately. By updating each separately, you can configure different pricing, quantities, and images for multiple-color versions of the products.

Go to Catalog > Products to add a color swatch for any product. Locate the product for which color swatches will be added, then select the "edit" option from the Action column.

Navigate to the "Configuration" section and select "Edit Configurations" to generate distinct product variations, including varying colors. Choose the "color" attribute in the "Select Attributes" step, then click "Next." In the following step, Click on each color you want to add to the product, then click next.

Proceed to the "Bulk Images & Price" phase, where you can apply distinct images to every SKU based on attributes. Choose "Colour" as the attribute.

After uploading pictures of each product color option:

  1. Click next. You can customize each variant's product pricing and quantity.
  2. After reviewing each product's color variant on the summary stage, select the Generate Products button in the upper right corner of the screen.
  3. Save the product configurations to preserve every color variation of the product you made.


Optimizing the customer experience of your online business starts with setting up color swatches in Magento 2. By following the instructions in this tutorial, you can effortlessly incorporate eye-catching color swatches into your product listings, improving usability and increasing sales. Pay close attention to consumer preferences and keep improving your strategy to present product variations as effectively as possible.

CONTACT US; We are always prepared to provide prompt assistance and support.

March 7, 2024
Did you like this post?