Getting a WooCommerce store ready for AI shopping agents
Where to make each fix on WooCommerce, check by check: robots.txt, product data (JSON-LD), return and shipping policies, guest checkout and search. You or your team apply the changes; Specoria only reads your public pages and then measures again.
Let AI agents in
If robots.txt or a firewall turns AI search bots away, they can’t read your pages, so your products are unlikely to show up in their answers.
Where on WooCommerce
robots.txt: Yoast or Rank Math › Tools › File editor (or the file on the server). Allow agent identities in security layers such as Wordfence or Cloudflare.
Checks
- Search and user agents allowed (robots.txt)
- Is bot protection open to agents?
- Sitemap
- Can the product page be indexed?
Agents to allow in robots.txt
AI search bots: OAI-SearchBot, Claude-SearchBot, PerplexityBot, Googlebot, Bingbot, Applebot. Agents fetching for a user: ChatGPT-User, Claude-User, Perplexity-User, Google-Agent.
A block on OAI-SearchBot and Googlebot is a critical blocker in our score. robots.txt controls crawling, not listing: a blocked page can still show up as a bare link (for example when other sites link to it), but the bot can’t read it, so your prices, stock and product details stay out of that surface’s index and answers.
If you give these agents their own group, repeat the Disallow lines from your “User-agent: *” group in it: a bot with its own group ignores the * group.
Product facts in the first HTML
Many agents read the page without running JavaScript. Name, price and stock must be in the HTML the server sends.
Where on WooCommerce
Render product content with the WooCommerce template instead of page-builder JavaScript widgets; check that the cache plugin serves server HTML.
Checks
Product data (JSON-LD)
Structured Product and Offer data is how an agent reads price, currency, stock and identity without guessing.
Where on WooCommerce
WooCommerce generates product JSON-LD; use your SEO plugin’s WooCommerce fields for GTIN and brand, and define variants as product variations.
Checks
Returns and shipping, machine-readable
Agents compare stores on delivery time and return terms; a business JSON-LD block states them in a form they can parse.
Where on WooCommerce
Add the business JSON-LD to <head> via the theme’s functions.php or a plugin that adds code to the header.
Checks
Policy pages people and agents can read
Returns, shipping, legal and order-tracking pages, linked from every page, answer the questions shoppers ask assistants.
Where on WooCommerce
Pages › Returns, Shipping and Terms of sale pages; choose the terms page in WooCommerce › Settings › Advanced.
Checks
One price, one stock
When the page, the structured data and your feeds disagree, an agent can’t trust any of them.
Where on WooCommerce
The feed plugin and product page must read the same price and stock fields; the currency is in WooCommerce › Settings › General.
Checks
Cart and guest checkout
An agent can’t create an account or sign in for its user. A required login is where its journey ends.
Where on WooCommerce
WooCommerce › Settings › Accounts & Privacy › “Allow customers to place orders without an account”.
Checks
Search by address
If search works from an address such as /search?q=, an agent can look through your catalog without clicking.
Where on WooCommerce
WordPress product search works with ?s=…&post_type=product; connect the theme’s search box to product search.
Checks
Check the result
- Run the free test again after each change: it measures the same 27 checks and shows what moved.
- Watch two AI agents shop your store in a real browser with the simulator; it stops at checkout and never orders.
Run the free test →Send the agents →How the score is calculated →
Other platform guides: Shopify · ikas · Ticimax · IdeaSoft · T-Soft