What it looks for
Cart line items include machine-readable product IDs / GTINs.
- Pass: Machine-readable IDs present.
- Partial: SKU present but no GTIN.
- Fail: Only display names in cart data.
How it is checked
- Fresh browser. Signed out, cookies cleared, desktop and mobile viewports, the store's live theme.
- Open a product. A real, in-stock product page, found the way a shopper finds one.
- Add to cart. Default variant, quantity one, then the cart page itself.
- Read it like an agent. The markup and structured data a shopping agent reads, not the layout.
- Record the verdict. Pass, partial or fail, saved with the evidence it was judged on: a screenshot where the rule is visual.
Why it matters
Without a stable identifier per line, agents cannot cross-check items against a catalog, apply price rules, or reconcile the order. Display names change with translation and localization, they are not safe identifiers.
How to fix it
- Include sku, gtin, and product_id fields on every line item in your cart JSON.
- If you cannot expose them via JSON, add data-sku and data-product-id attributes to the cart-line HTML at minimum.
- GTIN is the international standard barcode number; every physical product manufactured for retail already has one. Find it on the packaging.
Stores that fail it, from real audits
| Store | Score | Audited |
|---|---|---|
| Barnesandnoble | 60 | |
| Wpswings | 59 | |
| Wpfactory | 63 | |
| Reebok | 55 | |
| Muji | 67 | |
| Keenfootwear | 58 | |
| Kathmandu | 63 | |
| Iliabeauty | 66 | |
| Forever21 | 63 | |
| Fashionnova | 64 | |
| Davidsbridal | 61 | |
| Citstores | 66 |
And 11 more.
What the xfix ux team says about this rule
Without a product id on the cart line, an agent knows what it costs and not what it is.
Drafted by the xfix ux team and approved on 22 Sept 2026.
Sources
How to cite it
23 of 38 online stores audited by xfix ux fail the rule "Cart line items include machine-readable product IDs/GTINs" (CRT-A03) as of November 2026. xfix ux, xfix.ai/ux/rules/stores/product-ids-in-cart-lines/
Questions
What does CRT-A03 check?
Cart line items include machine-readable product IDs / GTINs.
What counts as a pass on CRT-A03?
Machine-readable IDs present.
What counts as a fail on CRT-A03?
Only display names in cart data.
How many stores fail CRT-A03?
23 of the 38 published store audits that judged it fail it (61%), as of 29 Nov 2026.
Why does CRT-A03 matter?
Without a stable identifier per line, agents cannot cross-check items against a catalog, apply price rules, or reconcile the order. Display names change with translation and localization, they are not safe identifiers.
How do I fix a fail on CRT-A03?
Include sku, gtin, and product_id fields on every line item in your cart JSON. If you cannot expose them via JSON, add data-sku and data-product-id attributes to the cart-line HTML at minimum. GTIN is the international standard barcode number; every physical product manufactured for retail already has one. Find it on the packaging.