Go back

← All guides · Ingenious AI team · November 14, 2026 · Reviewed November 14, 2026

The Add-to-Cart Path an Agent Can Actually Act On

The short answer

An agent can only add what it can act on: a standard add-to-cart form, a /cart/add endpoint or an equivalent buy path exposed in the product page's served HTML. The audit's add_to_cart_signal check (impact 5 — critical) reads the sampled product page for exactly that exposure; the Pro live_cart_add probe then proves it works by adding and reading the cart back. Exposure plus proof is the whole requirement. Test the exposure with the free store audit.

Audit my store — free

What the simulation looks for

The check reads the sampled product page's HTML for the signatures of an actable add path: a /cart/add reference, the language of add-to-cart in a form or link context, an add-to-cart endpoint pattern. Found is a pass. Not found is a fail with the audit's most consequential fix text in the purchase path: expose a standard add-to-cart form or /cart/add endpoint on product pages — a simulated agent stalls at this step when the only buy control is script a plain read cannot see. The check's critical weight reflects its position: it is the hinge between reading a store and buying from it. Everything upstream (access, catalog) delivers the agent to this control; everything downstream (cart, checkout) depends on it firing.

Note the check is about the served document, not the rendered one. Your browser's DOM after scripts is the human's page; the audit reads the document as delivered. The gap between those two artefacts is where this check lives, and script-only buy buttons is its dedicated treatment.

The shapes of an actable path

The classic form: a product form posting the variant to the cart endpoint — the pattern platforms standardized and agents are built against. The endpoint link: an anchor or form action referencing /cart/add with the variant identified. The platform buy button that leaves a server-rendered form beneath its script enhancements. All three pass, because all three are present in the document and actable without executing the page's scripts. What fails is the family of runtime-only constructions: buttons injected by apps after load, framework-hydrated controls with no server-rendered equivalent, and 'buy' flows that begin with a scripted modal.

Variant handling is the subtlety inside the shape: the add path must carry which variant — the presented one, at its price. An add control that adds a default variant regardless of the page's presented selection manufactures the wrong-variant failures the live probe's read-back exists to catch.

Exposure, then proof

The simulation's pass is a hypothesis the Pro probe tests: perform the add, read the cart back, confirm item, variant and price. Stores fail the proof in ways exposure cannot foresee — session drops, cart endpoints that require a token only the script flow obtains, region redirects on the add. The two-layer design means the fix conversation is always located: exposure failures are template work; proof failures are session and endpoint work. The full path context is the stall gauntlet, where this step appears as cart_add, and the live cart add for the proof itself.

Sources

A closing thought on why this check, of all the purchase-path checks, carries the veto weight it does. Access failures are visible to many instruments; catalog failures show up in search and feed diagnostics; but an unactable add path is detectable only by attempting the purchase as the buyer class that fails. Stores routinely monitor uptime, rendering and even checkout completion for logged-in test accounts while this one hinge rusts unobserved. The audit's insistence on reading the raw document and then actually adding is the insistence that the purchase be tested in the shape the purchase actually takes.

Five actions to take

  1. Expose the add in the served HTML. A standard form or /cart/add reference on every product page — findable in raw source, not only in the rendered DOM.
  2. Carry the presented variant. The add path must add the variant the page presents, at its price — not a silent default.
  3. Enhance the working control. Scripts may improve the form's experience; they must not be the only constructor of it.
  4. Let anonymous adds persist. The add and the cart read-back must share a session without an account.
  5. Verify both layers. add_to_cart_signal passes in simulation; live_cart_add confirms the item in the cart on Pro.

Worked example: The Hinge: Blackwood Board Games, 56 to 85

Example — a fictional store, shown to illustrate how the audit's findings and fixes fit together. These are the example's numbers, not a customer's results.

Blackwood Board Games is a fictional 44-product games store. Its first audit scored 56/100:

The fixes, in the order the audit's impact weights dictate:

The re-audit scored 85/100. One form element, restored to the document, reconnected a catalog to a checkout. The audit's impact weights had said all along that this was the store's most valuable missing piece; the score's jump on a single fix is what impact 5 means in practice.

Run the free store audit · See pricing · Ingenious AI

Frequently asked questions

What does add_to_cart_signal look for?

On the sampled product page, the signatures of an actable add path in the served HTML: a /cart/add reference, an add-to-cart form or link. It is an impact-5 (critical) check. The Pro live_cart_add probe then performs the add and reads the cart back as proof.

My buy button works in the browser. Why does the check fail?

The check reads the document as delivered, not the post-script DOM. Controls constructed at runtime by frameworks or injected apps are absent from that document — and from an agent's read. Server-render the form; let scripts enhance it.

What add-path shapes pass?

A standard product form posting the variant to the cart endpoint; an anchor or form referencing /cart/add with the variant identified; a platform buy button that leaves a server-rendered form beneath its enhancements. The common property: present in the HTML, actable without executing scripts.

Does the add have to carry the variant?

Yes — the presented variant, at its price. An add that silently adds a default variant passes exposure and fails the live probe's read-back, which confirms item, variant and price in the cart.

Exposure passes but the live add fails. Where is the problem?

In the session and endpoint layer: anonymous-cart persistence, tokens only the script flow obtains, region redirects on the add. The gauntlet's evidence and the purchase trace locate it; exposure failures are template work, proof failures are session work.

Keep reading

Start from the top of the subject: Why AI Shopping Agents Skip Your Store · Can AI Agents Buy From Your Store? · Agentic Commerce Checklist for Online Stores. Then run the instrument itself: the free store audit, the Store Audit lab, and the pricing page. All guides are listed in the guides index.

Previous guide: Restock Buying: Repeat Orders Are an Identity Problem · Next guide: Your Cart Page, Read by an Agent: The Plain GET Test