Learning Center ยท Fix recipes
Fix recipes for Shopify
Step-by-step fixes for common AgentScore findings on Shopify, with who usually does the work and how to check it worked. For the bigger picture, read agent readiness on Shopify.
Give agents your price and stock on Shopify
Check: Product pages give price and stock in a form agents can readWho: DeveloperEffort: Days
AI shopping agents read price, currency and stock from the structured data in your product pages. If any is missing, they can't say what an item costs or whether you have it. On Shopify, your theme decides this. Make sure your product template uses Liquid's structured_data filter, or outputs its own, with all three values.
Steps
- Open a product page, choose View Page Source, and search for application/ld+json to see what your theme outputs today.
- Check whether your product template uses Liquid's structured_data filter, which outputs a Product, or a ProductGroup for products with variants.
- If the template outputs its own data instead, confirm the offer gives a price, a currency and availability.
- Fill any gaps in the product template, generating values from the same product data the page shows so they stay current.
- Make sure every value matches what a shopper sees on the page, including the variant a visitor lands on.
Check it worked
- View the source of two or three product pages and find price, priceCurrency and availability in the JSON-LD.
- Paste a product URL into the Schema Markup Validator to check the markup is valid.
- Rescan with AgentScore and confirm the product data check passes.
Watch out: Theme updates and new apps are where these problems usually come from, so rescan after you install or update either.
Based on Agent readiness on Shopify, Agent readiness for Shopify stores: what you control, Product data that AI shopping agents can read, Prices AI agents can read. Official docs: Liquid filters: structured_data (Shopify).
Make price and stock agree everywhere on Shopify
Check: Price, stock and name agree everywhere agents read themWho: DeveloperEffort: Days
Agents read your price from your product data, the page and its sharing tags. When these disagree, assistants quote the wrong price or the wrong stock. On Shopify, apps that change prices, currencies or stock badges with JavaScript are a common cause. Generate every copy from the same product data so one change updates them all.
Steps
- Pick five products and compare name, price and stock in the visible page, the JSON-LD in the page source, and the page's sharing tags.
- List the apps that change prices, currencies or stock badges, and check whether they do it with JavaScript after the page loads.
- Where an app changes the page but not the HTML, ask its developer or yours to put the same value in the HTML your server sends.
- Replace any hard-coded JSON-LD in your theme with data generated from the product, for example with Liquid's structured_data filter.
- If you sell through Shopify's agentic channels, check your catalog data and product pages say the same thing.
Check it worked
- View the source of a product page and confirm the JSON-LD price and availability match what the page shows.
- Change a test product's price and check the page, its JSON-LD and its sharing tags all update together.
- Rescan with AgentScore and confirm the consistency check passes.
Watch out: Shopify says AI channels can still reach your product information through web crawling, which it warns might not always be as complete, accurate or up to date, so your pages must agree with your catalog.
Based on Agent readiness for Shopify stores: what you control, Product data that AI shopping agents can read, Prices AI agents can read, Product feeds and merchant listings for AI shopping. Official docs: Liquid filters: structured_data (Shopify), Agentic storefronts: data and privacy (Shopify).
Let shoppers check out as guests on Shopify
Check: Shoppers can check out without an accountWho: E-commerce platform adminEffort: Days
An AI agent buying for someone can't create an account for them, so a forced sign-in stops the order at the last step. Shopify hosts your checkout, and one setting matters most. In Settings > Checkout, leave "Require sign-in before checkout" off unless you truly need customer accounts.
Steps
- In your Shopify admin, go to Settings > Checkout and find the setting to require sign-in before checkout.
- Turn it off unless your business truly needs accounts, for example trade-only or subscription sales.
- Read your cart page as an agent would, and remove any theme or app text saying shoppers must sign in to check out.
- Offer accounts after the order, for example a "Save your details for next time" prompt on the confirmation page.
- If you must keep accounts, say so on product pages and in your llms.txt so agents can tell the shopper early.
Check it worked
- Open your store in a private window, add a product to the cart, and press checkout. You should reach a contact and delivery form with no password field.
- Rescan with AgentScore and confirm the guest checkout check passes.
Watch out: Shopify's spam protection adds hCaptcha to legacy customer account login and sign-up pages by default, so make sure shoppers never need those pages to buy.
Based on Agent readiness on Shopify, Agent readiness for Shopify stores: what you control, Guest checkout: why AI shopping agents need it. Official docs: Checkout form options (Shopify), Online store preferences (spam protection) (Shopify).
Let AI assistants in through robots.txt on Shopify
Check: robots.txt lets AI assistants and search agents inWho: SEO or content teamEffort: Hours
If robots.txt shuts out AI assistants and AI search, they can't read your pages and leave you out of their answers. Shopify's default robots.txt lets AI agents in. Problems come from a robots.txt.liquid template someone added to your theme. Open /robots.txt and remove any rules blocking assistants such as ChatGPT-User or Claude-User.
Steps
- Open yourstore.com/robots.txt and read every group, noting which agent names each applies to.
- Look for Disallow rules naming AI assistants or AI search agents, such as ChatGPT-User, Claude-User or OAI-SearchBot.
- If your theme has a robots.txt.liquid template, remove those rules there, adding or removing rules with Liquid on top of Shopify's defaults.
- Avoid replacing the template with plain text, so Shopify can keep updating the defaults.
- Leave the default rules for cart and checkout alone. They don't cost you in AgentScore.
Check it worked
- Reload /robots.txt and confirm no group blocks AI assistants or AI search agents from your product pages.
- Rescan with AgentScore and confirm the robots.txt check passes.
Watch out: Shopify notes that an older robots.txt.liquid template can output rules the current default no longer has, so compare yours with the current default.
Based on Agent readiness on Shopify, Agent readiness for Shopify stores: what you control, robots.txt for AI agents: who to allow and who to block. Official docs: Editing robots.txt (Shopify), robots.txt.liquid template (Shopify).
Put prices in the page HTML on Shopify
Check: Prices are in the page HTMLWho: DeveloperEffort: Days
Most AI assistants read the HTML your server sends and never run JavaScript. If a price only appears after scripts run, they see a product with no price and often skip it. On Shopify, apps that change prices or currencies with JavaScript can cause this. Make sure your theme puts each price in the HTML.
Steps
- Open a product page, choose View Page Source (not Inspect), and search for the price.
- If it's missing, find the theme section or app that fills it in after the page loads.
- Ask your developer to output the price in the theme's HTML and let JavaScript update it only when a shopper changes options.
- Show a currency code where the symbol could be unclear, such as "$18.00 USD".
- Label sale prices in words, such as "Was $24.00, now $18.00", and list variant prices in the option labels.
Check it worked
- View the source of a product page and a sale product, and find each price with its currency.
- Rescan with AgentScore and confirm the prices check passes.
Watch out: Apps that change prices, currencies or stock badges with JavaScript can leave the HTML saying one thing and the page another, so recheck the source after installing one.
Based on Agent readiness for Shopify stores: what you control, Prices AI agents can read.