Illustrative walkthrough: Follow these steps in a controlled sample store and record your results. This guide explains what to configure and test; it is not a report of completed storefront tests.
A swatch row can look correct while sending a shopper to an unexpected size. Before connecting an entire clothing catalog, start with one garment and test the complete route from selecting a colour to adding a size to the cart.
This walkthrough uses three separate products: Linen Shirt — Navy, Linen Shirt — White, and Linen Shirt — Sage. Each has S, M, and L variants. The goal is to connect the colour pages while leaving the size choices within each product.
Prepare a small, controlled catalog
Use a development store or a controlled test range. The missing-size and publication checks later in this guide deliberately change product data, so do not perform them on active selling products without planning the effect.
Give each sample product a recognizably different photograph that you own or may use. Keep the garment design, fit, and size labels consistent. Use exactly S, M, and L initially; introduce inconsistent naming only in the relevant test.
| Product | Colour value | Size variants |
|---|---|---|
| Linen Shirt — Navy | Navy | S, M, L |
| Linen Shirt — White | White | S, M, L |
| Linen Shirt — Sage | Sage | S, M, L |
Record each actual product URL, the theme and version, and the test date. Confirm the intended products are active and published to the Online Store. Check inventory and purchase settings so the starting range can be bought in the test environment.
Create the colour group
In Datima Combined Listings, open Groups and choose Create group. Use an internal name such as Linen Shirt — Colour Test. Set the shopper-facing option name to Color and add the three products.
Review the values Navy, White, and Sage. A suggested colour is a starting point: a photograph’s background or lighting can make an inferred shade unsuitable. Correct any value or swatch that does not explain the garment clearly, then arrange the products in your preferred order.
A product can belong to one group at most. If a sample is already grouped, review that membership before continuing. The create-group guide contains the current controls and limits.
Set the presentation and storefront placement
Choose a product-page style under Swatch style. Colour is a useful starting point for these solid shirts; image or button styles are alternatives. Select Cards to review the collection-card presentation separately.
Turn on the app embed, add the swatches block to the product template, and save the theme changes. If you want to test collection swatches, enable Product cards in the app’s settings too. Check the setting for keeping the chosen size when switching colours; record whether it is enabled.
Set the group to Active, save, and wait for publishing to finish. Use Preview on store to begin checking the actual pages. An editor preview is useful for styling, but it does not replace checking navigation and the cart.
Test the ordinary shopping journey first
Open Navy and select M. Click Sage. Record the destination URL, visible selected size, and variant added to the cart. Repeat the route in the opposite direction, then include White.
With size preservation enabled, the app uses a matching variant title when it can find one. When there is no matching title, the navigation uses the sibling’s product URL; the destination selection must be observed in the theme. With size preservation disabled, the sibling opens without carrying the selected size. Do not report either path as tested until you have checked it.
Change one condition at a time
| Condition | Action | What to record |
|---|---|---|
| Matching size exists | Select M in Navy, then open Sage. | Destination selected size and cart variant. |
| Target size absent | Remove M from the test Sage product, then repeat. | Destination selection, message, and add-to-cart result. |
| Size names differ | Use Medium on Sage while Navy uses M. | Whether the intended size is selected; do not assume equivalence. |
| One size sold out | Make Sage M unavailable while S and L remain purchasable. | Colour visibility, selected size availability, and purchase behaviour. |
| Whole colour sold out | Make every Sage size unavailable. | Each sold-out presentation setting on pages and cards. |
| Product unpublished | Remove test Sage from the Online Store. | Member status and whether its swatch disappears after the update. |
| Only one visible member | Leave only Navy visible in the test group. | Whether the complete row is suppressed. |
| Mobile journey | Repeat colour navigation and cart checks on a phone. | Labels, selected state, tap usability, and cart variant. |
Restore the starting data between cases. Keep product availability, individual-size availability, and publication status as separate tests; combining them makes a missing swatch difficult to diagnose.
Keep an evidence record you can repeat
Capture the starting catalog, group settings, product page on desktop and mobile, collection card, destination page, and cart. For each image, record the condition it shows. A screenshot of a swatch row proves its appearance at that moment; it does not prove that a later click selected the correct size.
Record unexpected behaviour alongside successful cases. Include any theme-specific limitation and the exact conditions needed to reproduce it. Re-run these checks after changing the theme, size naming, or group presentation.
Expand only after the journey is clear
Once the three-colour range behaves as intended, use the same checklist for a second garment with a different size range or pattern. This checks whether your naming and merchandising rules work beyond the simplest example.
For setup details, use the swatches-block guide. If a row is missing, work through the visibility checks before changing the catalog structure.