Stall library · Buy
A link that should fill the cart leaves it empty
A broken cart link means the link your platform provides to put a product straight into the cart, such as /cart/add on Shopify or ?add-to-cart= on WooCommerce, opened without error and left the cart empty. AI agents and the tools that send shoppers to you build these links to skip the product page, so a link that does nothing ends the purchase before it starts.
Why the agent stops
Shopify and WooCommerce both accept a plain link that adds a product to the cart. It is the simplest way for an agent to start a purchase it has already decided on: no page to read, no button to find. Some agents and shopping tools build these links directly from the product’s id.
The link stops working when something on the store gets in its way: an app or theme script that empties or rebuilds the cart on load, a redirect that drops the request, or a product that cannot be added without choosing options first. The product page still works, so nothing tells you the shortcut is broken.
How often we see this
Not stated here. A frequency means nothing without the cohort it was counted over, and this page is about one stall rather than one category. Where a category has enough stores measured at every stage, the share of them showing this stall is published on its benchmark page, with the methodology beside it.
See it for yourself
- On Shopify, open https://yourstore.com/cart/add?id= followed by one of your variant ids, in a private window.
- On WooCommerce, open https://yourstore.com/?add-to-cart= followed by a product id.
- Open the cart. If it is empty, this is the finding. Try again with another product to see whether it is one product or all of them.
What to change
- Check that no app or theme script empties the cart, or intercepts the add link, when a page loads.
- On Shopify, check the product is published to your Online Store sales channel.
- On WooCommerce, check no plugin blocks add to cart links, and link a variation by its own id when the product has options.
Where to change it on your platform
- Shopify. In Shopify, cart permalinks such as /cart/{variant id}:1 work on every store. When one does not, an app or a theme script is usually clearing the cart.
- WooCommerce. On WooCommerce, ?add-to-cart= links work unless a plugin or a caching rule blocks them. Exclude the cart from page caching.
- Magento or Adobe Commerce. In Magento or Adobe Commerce, your developer can check what the cart link does and that the cart is not served from a page cache.
- BigCommerce. In BigCommerce, your developer can check what the cart link does and that no script clears the cart.
- Salesforce Commerce Cloud. In Salesforce Commerce Cloud, your developer can check what the cart link does and that the cart is not served from a page cache.
- Any other platform. Your developer can make sure a link that adds a product to the cart works, and that no script empties the cart on load.
What Ottom looks at
On Shopify and WooCommerce stores, Ottom opens the platform’s add link for the product the journey chose, in a fresh browser, then reads the cart through the platform’s own cart data. It is raised when the link answered without error and the cart stayed empty. The check reads the cart only and is stopped before any checkout page. It follows robots.txt, so it does not run where your robots.txt disallows /cart, as Shopify’s default file does.
Questions
Why was the cart link not checked on my Shopify store?
Because Shopify’s default robots.txt disallows /cart, and Ottom follows robots.txt on every address it builds. When your file allows it, the check runs. Nothing is reported when it does not.
Does the cart link check start a checkout?
No. It opens the add link, reads what the cart holds and stops. Any request towards a checkout page is blocked before it leaves the browser.