Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Color Swatches with Hover Preview in List and Detail

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: COLORSWATCHESPRO1

  • color, image and text swatches right in the category list
  • image swap on hover to the matching variant
  • sold-out variants dimmed instead of hidden
  • limit the count, show two-tone, per store view
Auf Lager
€149.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

Magento 2 Color Swatches in the category list and on the product page

With Mironsoft Color Swatches Pro you show Magento 2 color swatches wherever customers pick a variant: in the product list, on the product page and in the filter. Instead of a dropdown, visitors see real color chips, pattern images or short texts, and a hover swaps the tile image for the matching variant. The interface is built with Alpine.js for Hyvä and loads neither jQuery nor Knockout.

Color and image swatches

Store a color code, a pattern image or a text as the swatch for every attribute value.

Swatches in the list

Small variant dots under each product tile show the available colors right in the category.

Image swap on hover

When the visitor moves over a swatch, the tile image changes to the matching variant.

Sold out stays visible

Variants that cannot be delivered appear crossed out or dimmed instead of disappearing.

Two-tone swatches

Variants with two colors are drawn as a split circle, for example frames with upholstery.

Limit the number

Above a maximum the tile shows a counter such as plus 4 and keeps the grid calm.

Why swatches

Why Magento 2 color swatches make more variants visible

In fashion, furniture, textiles or paint the variant is often the real purchase decision. Magento shows swatches by default only on the product page, and in the category the customer sees one photo. Anyone who wants to know whether the chair also comes in anthracite has to open every tile. Merchants therefore search for Magento 2 color swatches in the category, for a Magento 2 color picker or a Magento 2 swatches extension.

With Magento 2 color swatches in list and detail view, the tile answers that question at once. The visitor recognises the choice, sees the matching image on hover and jumps to the variant that interests them. That saves clicks and reduces page views that end without a result.

01Swatches in the list

Magento 2 color swatches in the category: variants right under the tile

Below name and price of each product tile a row of small swatches appears. You decide which attribute is shown, for example color or material, and how many swatches are visible per tile. Surplus values are summarised by a counter. A click on a swatch opens the product with the variant preselected, so the customer does not have to choose again.

  • Attribute and number of visible swatches per tile configurable
  • Counter for further variants instead of overflowing rows
  • A click opens the product page with the chosen variant
Category › Product tile
Product
Example armchair
SwatchesAnthracite · Sand · Sage · +2
Sample data, not a real product
Frontend · Hover preview
Swatch Sandimage swapped
Swatch Sageimage swapped
Base image stays when no variant image exists
02Hover preview

Image swap on hover: the matching photo for every color variant

When the visitor moves the mouse over a swatch, the tile exchanges its image for the photo of the variant. On touch devices a tap on the swatch takes over that role. The image comes from the configurable product, so you maintain no additional files. If a variant has no photo of its own, the base image stays and the swatch only marks the selection. Loading starts at the first hover so that the category stays fast.

  • Variant image shown on hover or tap
  • If the variant image is missing, the base image stays
  • Lazy loading at the first hover for short load times
03Swatch types

Magento 2 color swatches as color, image or text for every assortment

In the admin you set the swatch type for every attribute value. Color codes suit standard colors, pattern images suit fabrics, woods and tiles, and texts suit sizes such as M or 42. Two-tone values get a split circle. You can draw swatches round or square, set the size and enable a thin border for light colors so that white on a white background stays visible. All settings apply per store view.

  • Color code, pattern image or text per attribute value
  • Two-tone swatches as a split circle
  • Shape, size and border for light colors adjustable
Admin › Attribute values › Swatch
Type
image (example)
Shape
round
Border for light colors
yes
Frontend · Product page
Anthraciteavailable
Sandavailable
Sagesold out (example)
04Stock status

Magento 2 color swatches for sold-out variants: show them, do not hide them

If a variant cannot be delivered, its swatch stays visible but is dimmed or struck through diagonally. The customer learns that the color exists and stays in your shop instead of searching elsewhere. Alternatively you hide sold-out swatches in the list but keep them on the product page. The stock information comes from your simple products and needs no extra maintenance.

  • Not available: dimmed or struck through
  • Optionally hidden in the list, shown in the detail view
  • Stock is taken over from the simple products
Use cases

Where Magento 2 color swatches help in everyday shop work

Industries in which the variant shapes the purchase decision.

Fashion and textiles

Customers see every color of a sweater already in the category and jump straight to the one they want.

Furniture and home

Upholstery fabrics and wood finishes appear as pattern images, and the hover photo shows the piece in that version.

Paint and coatings

Thousands of shades can be browsed as color chips, with text swatches showing container sizes next to them.

Accessories and tech

Cases, cables or housings in several colors stay clear, and sold-out shades are recognisable at once.

Comparison

Magento 2 color swatches: with and without the module

The difference to the standard selection in Magento.

TopicWithout moduleWith Mironsoft Color Swatches Pro
CategoryOne photo, variants invisibleSwatches under every tile
Variant imageOnly after a click on the product pagePreview on hover or tap
Sold outVariant simply missingSwatch visible, dimmed
Multi-colorCannot be shownSplit circle
MaintenancePer attribute value one by oneType and display centrally in the admin
Setup

How we set up Magento 2 color swatches for you

The process after you place the order.

1

Alignment

You name the attributes that should appear as swatches and the look you want, from size to border.

2

Installation

We install the module in your Hyvä theme and enable Magento 2 color swatches for the chosen categories.

3

Attribute values

We store color codes, pattern images and texts or take over existing swatch data.

4

Test

We check Magento 2 color swatches in list, hover, touch devices, sold-out variants and products without a variant image.

5

Handover

Your team gets an introduction to maintaining swatch types and display options.

Scope

Scope compared with product image hover, product labels and layered navigation

The product image hover from Mironsoft changes the image when the tile is hovered, without knowing variants. The product labels place stickers such as New or Sale, and the layered navigation filters the assortment. Magento 2 color swatches instead shows the variants themselves and links every swatch to the matching image.

The modules can be combined. The swatch module runs with Alpine.js in the Hyvä theme and brings no additional library.

05How the purchase works

No download, personal setup instead

Color Swatches Pro is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on attributes, swatch types and display together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about swatches, hover, stock status and how the purchase works.

How can I show swatches in the category list in Magento 2?
With Magento 2 color swatches you choose the attribute in the admin, for example color, and the number of visible swatches. The row of variants then appears under every tile.
How can I change the image on hover over colors in Magento 2?
The module swaps the tile image for the variant photo when a swatch is hovered. On touch devices a tap on the swatch is enough.
Which types do Magento 2 color swatches offer?
Color code, pattern image and text. Two-tone values appear as a split circle, and shape and size are set per store view.
What happens if a variant has no image?
Then the base image of the tile stays, and the swatch only marks the selection. No empty area appears.
How are sold-out variants displayed?
Dimmed or struck through diagonally. Alternatively you hide them in the list and keep showing them on the product page.
How can I limit very many swatches in Magento 2?
You set a maximum per tile. Further values are summarised by a counter such as plus 4 so the grid stays calm.
Are light Magento 2 color swatches recognisable on a white background?
Yes, for light shades you enable a thin border so that white on a white background stays visible.
Do Magento 2 color swatches work with Hyvä?
Yes, the interface uses Alpine.js and needs neither jQuery nor Knockout nor an additional library.
How does this differ from product image hover and layered navigation?
Those modules swap images in general or filter the assortment. The swatch module knows the variants and links them to image and stock status.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 Color Swatches – Mironsoft Color Swatches Pro
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Color Swatches – Mironsoft Color Swatches Pro

Magento 2 Color Swatches – Mironsoft Color Swatches Pro

€149.00