Structure a fashion ecommerce product feed with one stable group ID per design and one item per sellable size-and-colour combination. For a rain jacket offered in navy, black and sage, each in M and L, that means six distinct item IDs or SKUs under the same group ID. Give each item its own size, colour, current price, availability and image reference. The group tells a recommender that the items belong together; the variant record tells it exactly what a shopper can buy.
A recommendation can show one jacket card rather than six near-identical results, but any specific colour, size, price or stock claim on that card must resolve to the corresponding variant. If the card shows sage and the shopper selects L, the product page should open on or clearly preserve sage L, and the accepted cart line should confirm it. Check this against the feed and the live shop: a correct group ID cannot compensate for a navy image on a sage card or for a cart that silently substitutes M.
Decide what belongs to the parent design
Use the parent as the canonical grouping for variations of the same design. The design name, general description and care instructions can live at parent level if they genuinely apply to every combination. Your export can repeat shared text on the individual items as needed; sharing an editorial description does not mean sending a single feed row for the jacket. In Google Merchant Center terms, the item group ID stays the same across the variants, while the individual item ID identifies one variant. Use the SKU as that item identifier if it is unique and stable in your catalogue, or keep an explicit mapping if the two identifiers differ.
Do not make the group ID depend on whichever colour is in the lead image, whichever size is in stock or the product title as it appears this season. Those details can change without creating a new design. Equally, do not group two different jacket designs because they have the same collection name and colour range. A shopper choosing between navy and sage should be changing the colour of the same jacket, not switching to a different cut. A family name can help people browse several designs without serving as their variant group ID.
In WooCommerce, the variable product is where the shopper encounters the shared design, and variations carry the specific attribute combinations. Keep a clear relationship between that parent product, the feed group ID, the SKU and the variation identifier used by the shop. They do not have to be the same value. They do have to resolve consistently: starting with an exported SKU, a teammate should be able to find the exact variation without searching for a near match in the product title. The parent is useful for browsing, but it is not a seventh buyable jacket alongside the six variants.
Build the six-row size and colour matrix
Illustrative example: The fictional rain jacket below uses the group ID RJ-01 for all six rows. Sage M is temporarily out of stock, while sage L remains available. Navy is the only discounted colour. The price column describes example pricing states rather than inventing monetary amounts; in a real feed, use actual amounts and currency in the applicable price fields. The image column names the expected colour asset, not a file or a live image.
| SKU | Colour | Size | Price state | Availability | Expected image |
|---|---|---|---|---|---|
| RJ-01-NV-M | Navy | M | Sale | In stock | Navy jacket |
| RJ-01-NV-L | Navy | L | Sale | In stock | Navy jacket |
| RJ-01-BK-M | Black | M | Regular | In stock | Black jacket |
| RJ-01-BK-L | Black | L | Regular | In stock | Black jacket |
| RJ-01-SG-M | Sage | M | Regular | Out of stock | Sage jacket |
| RJ-01-SG-L | Sage | L | Regular | In stock | Sage jacket |
The table gives each row its own price and availability, even where several rows happen to agree. That is what lets you end the navy L discount without changing navy M, or replenish sage M without touching sage L. In a live Merchant Center export, use the supported availability values and the appropriate price and sale price fields. A sale badge on the parent is not a substitute for those values. The item image reference also belongs on the row, even if both sizes use the same colour photograph.
A three-by-two matrix is a maximum, not a requirement to manufacture every combination in the feed. If you never make black L, do not create a fictitious black L SKU and call it out of stock. An existing variation that cannot be bought today is different from a combination that has never existed. Make that distinction visible in the picker too: when the shopper selects black, an unavailable manufactured size and a size you do not offer should not be confused. If a combination is permanently retired, review its listing rather than treating it indefinitely as a temporary stockout.
Keep variant prices and stock accurate on the recommendation
A parent card can invite a shopper to explore the jacket before a size is known. Once it makes a concrete claim, however, give that claim a clear scope. If a card shows the sage jacket with the navy sale price, a shopper can reasonably assume sage is discounted. Either show the price of the displayed variant, or clearly label a group-level starting price and show the exact amount after selection. When both size and colour are selected, the variant price should take precedence over a price range that describes the whole design.
Test the difference with navy L and black L so only the colour changes. Start with the navy sale, switch to black on the product page and verify that the displayed price changes to the actual black L amount. Then add black L and compare the accepted cart line’s item price, accounting for any separately applied cart discounts. Compare like with like: an item price on the recommendation is not the same thing as a cart total that includes quantity, delivery or other charges. Also switch back to navy and confirm that a stale black price does not remain on screen.
Treat stock with the same precision. At group level the jacket is available, and at colour level sage has a purchasable option. Neither statement makes sage M buyable. For a recommendation made in response to a request for sage M, say that the requested combination is unavailable. Sage L and black M can be offered as alternatives, but describe what changes in each case. The shopper may be flexible on colour and not on fit. Never turn that assumption into a substitution in the cart.
Investigate disagreements in order: first inspect the shop variation, then the exported row, then the recommendation and product page. A temporary delay after a stock or price change is a different problem from an export that always reads the parent value. Note when the shop changed and when the recommendation reflected it. You need both pieces of information to tell whether to fix the field mapping or the refresh process.
Make the images follow the selected style
A colour image is evidence of what the recommendation is showing, not decoration. For the example jacket, use the sage asset on both sage rows if the two sizes look the same in the photograph. There is no need to commission separate M and L photos simply to make the rows look unique. The important question is whether the garment pictured matches the selected variation. If what the shopper sees changes materially between variants, review whether the shared asset still represents both fairly.
Check the rendered card and the product page, not just the image reference in the export. A correct sage image in the feed can still be replaced by a black parent image in the recommendation, or a product page can show navy after opening a sage selection. Start on sage L, change to black L, then back to sage L. Watch the main image, selected colour label and price together. Changing only the size should not reset the colour or bring back the parent image. If the cart shows a thumbnail, compare it with the colour text on the accepted line as well.
Decide how to handle a missing colour asset before publishing. A design-level card can use a clearly identified example colour and invite the shopper to choose, but a card presented as sage should not quietly show navy. Where the channel expects a matching variant image, repair the image assignment before publishing that item. Make image labelling understandable without relying on colour alone: the visible selection should say Sage, not just show a green swatch. If a mock preview illustrates the desired card, label it as illustrative. It does not establish that the live shop loads that asset or preserves that selection.
Separate voice selection, accepted cart action and payment
A voice interaction can identify a shopper’s preferred variant without changing anything in the cart. If the shopper says “the sage jacket in large,” map that phrase to the canonical colour Sage and size L. A useful read-back names both attributes: “Sage, size L.” If they say “the green one” and more than one green shade is available, ask which shade instead of guessing. If they omit size, ask for it rather than assuming that a parent page’s default selection represents their choice.
An add-to-cart request is a separate step. Resolve the final selection to the specific shop variation and check what the cart accepted. The WooCommerce Store API cart items reference describes adding items using a product or variation identifier and supplying variation attributes where applicable. Use the identifier and attributes appropriate to your integration, then verify the returned cart item: does it actually contain the intended jacket, Sage, L, and the requested quantity? A successful-looking button or spoken acknowledgement is not enough if the returned line is black M. If the cart rejects the request because stock changed, report that outcome instead of confirming the add.
Payment is separate again. “Sage L was added to your cart” describes an accepted cart action, not a completed purchase. A read-back describes selection only; a mock cart confirmation illustrates a possible response only. Reserve statements about payment for a confirmed payment outcome. This distinction helps with troubleshooting as well as shopper communication: correctly interpreting “large” cannot fix a wrong cart identifier, and a correct cart line cannot tell you whether payment took place.
The same distinction matters when referring to Senoji Baldinė. Attribute the workflow described by the owner to the owner, and report public listing facts only when they are visible in the listing itself. A listing is not evidence that a spoken selection carried into the cart or that payment was completed. Neither the fictional jacket nor an illustrative preview verifies those actions for Senoji Baldinė. If you cannot observe a step, leave it unverified rather than using the listing as proof of the whole workflow.
Run a handoff test that can catch silent substitutions
Start from a recommendation, not from an already configured product page. Use a fresh session for the first run so an old selection does not hide a bad default. For each row of the matrix, record the displayed style and price, the initial page selection, any changes you make and the cart’s response. For the out-of-stock row, the expected result is no successful add, not a cart line for a different size. A short checklist is enough if it records the variant identifiers as well as the labels a shopper sees.
- Open sage L from its recommendation. Check that the card shows sage and that the page preserves Sage and L. If a selection cannot be carried over, the page must make that clear and let the shopper choose before proceeding. A silent reset to navy M fails this check.
- Change only the colour. On the same page, choose navy and check that L stays selected when it is offered. Verify that the image turns navy and the navy sale price appears. Add the jacket and inspect the accepted line for navy L.
- Change only the size. Return to sage L and switch to M. The sage image should remain, but the stock state should change. Try the unavailable combination through the supported shopping flow and make sure it does not add sage L or another variant instead.
- Test adjacent, buyable rows. Add black M and black L in a clean cart. Check the size and quantity of each item. Two rows with the same colour and price are a good test for a system that accidentally treats both as the same parent item.
- Recheck a changed state. In a controlled test, end a variant sale or change availability, then compare the shop, export and recommendation. Record what the cart does when someone tries to add from an older view. It should not silently select a replacement.
Repeat the handoff on a narrow screen where swatches, prices and size controls may not all be visible at once. The shopper should still know which variant is selected before adding it. If voice is part of the experience, repeat one exact selection and one ambiguous request, then verify any accepted cart action independently. Passing the visual picker test does not prove that the voice path resolves the same variant.
Validate the export for the market you serve
Inspect the delivered export, not only the values saved in the shop. Filter on the jacket group ID and confirm there are six rows in this example, six unique item IDs and no duplicate colour-and-size pairs. Check that each row has the expected price and stock state, a matching image and a destination that leads to the advertised item. A storefront can look correct while an export repeats the parent’s availability or omits size on some rows. Conversely, an accurate export does not prove the product page preserves a selection.
Use the current Merchant Center documentation for the target country and the listing destination. Apparel requirements can vary by market and destination, so check which attributes are required and which supported values to export, including any applicable size information. Keep the shop’s customer-facing size labels and the feed mapping aligned. If you sell in more than one market, do not assume that an export checked for one market is ready for another. Verify the exported attributes and currency against the intended destination before submission.
Also check what happens when a merchant edits a label. A shop may rename “Sage” to “Soft Sage” without creating a new physical variant. Update the display label and any selection mapping while keeping the stable item identity if the item itself has not changed. Conversely, if the merchant introduces a genuinely different shade alongside the original, it must not inherit the original shade’s SKU. Spot-check that the new label on the recommendation, the chosen option on the page and the cart line still refer to the same item.
Measure variant accuracy, not just clicks
Measure whether shoppers reach and add the item they chose. A recommendation click can look successful even if the destination opens on the wrong colour. Review failures at the step where they occur rather than combining them into one cart metric. Start with these checks:
- Selection match: Of recommendation opens that name a specific variant, how many land with that variant selected? Exclude design-only cards that deliberately ask the shopper to choose.
- Image match: Of sampled colour-specific cards and product selections, how many show an asset that matches the named colour? Log whether the mismatch appears on the card, on the product page or in the cart thumbnail.
- Price and availability agreement: Of sampled rows, how many agree with the live variation when checked in the same market and at the same time? Record stale values separately from incorrect field mappings.
- Accepted cart match: Of accepted variant add requests, how many return the requested identifier, attributes and quantity? Count rejections separately so an unavailable item is not confused with an accepted substitution.
For a small catalogue, start with all six rows rather than a sample that can miss the one unavailable size. For a larger range, prioritise groups with mixed stock, colour-specific sales and shared parent imagery, then recheck them after changes to imports, pricing or product templates. Log expected and observed values side by side. If the sage image is wrong but the cart is right, the remedy is different from a perfect card that adds the wrong size. The release standard is practical: the design groups correctly, the variant is described accurately, and the cart accepts the exact item selected or clearly says why it cannot.
Related guides
- How a shoe fit chatbot can compare sizes across brands
- How to recommend a full outfit without losing the selected size
