ShopifyShopify

Shopify + AI Readiness

Shopify's locked-down robots.txt and limited theme access make stores hard for AI to read. w2agent helps you work around the constraints.

Step-by-step guides

Why Shopify Stores Struggle with AI

Shopify manages robots.txt centrally — you can't directly edit it. This means you can't fine-tune which AI crawlers access which pages. Combined with limited theme customization and often-missing structured data, Shopify stores are frequently underserved by AI.

Locked robots.txt

Shopify controls robots.txt at the platform level. You can't add custom AI bot rules directly.

Missing Product schemas

Many themes don't include full Product JSON-LD with offers, ratings, and availability.

Generic default llms.txt

Shopify serves /llms.txt on every store, but the default is written for shopping agents. Override it with a templates/llms.txt.liquid theme template.

Duplicate content

Collection filtering and pagination create duplicate URLs that confuse AI crawlers.

What w2agent Generates

After auditing your Shopify store, w2agent generates theme-compatible files:

llms.txt

Store overview for AI models — products, collections, policies, and key pages.

llms-full.txt

Full-content version including product descriptions and collection pages.

Product JSON-LD

Complete Product schema with Offer, availability, and AggregateRating.

Liquid snippets

Theme snippets that render structured data dynamically from Shopify's product data.

Example: Liquid snippet for Product JSON-LD

{% comment %}w2agent: Product schema{% endcomment %}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "{{ product.title | escape }}",
  "description": "{{ product.description | strip_html | escape }}",
  "image": "{{ product.featured_image | image_url }}",
  "offers": {
    "@type": "Offer",
    "price": "{{ product.price | money_without_currency }}",
    "priceCurrency": "{{ shop.currency }}"
  }
}
</script>

Shopify-Specific Checks

CheckWhat It Tests
robots.txt restrictionsShopify's default robots.txt blocks several paths — checks whether AI-relevant pages are accessible.
Product structured dataValidates Product, Offer, and AggregateRating schemas on product pages.
llms.txt presenceChecks for llms.txt at the site root describing your store to AI models.

Step-by-Step Integration

CLI coming soon — run the web audit

1

Generate files

Run the web audit, open the Manual Fixes tab, click Generate, and download the files for your platform.

2

Add to your theme

Shopify already serves a default llms.txt, so this step is optional. To customize it, go to Online Store > Edit code > Add a new template, choose llms.txt, and adapt the generated text. Only the request and agents Liquid objects work there, so keep the UCP and MCP endpoints from the agents object. Use the generated Liquid snippets in your theme templates.

3

Add structured data

Paste the generated JSON-LD into your theme.liquid layout file, inside the <head> tag.

Agent for Shopify

w2agent can agentize your Shopify store — deploying an agent so AI agents can query it directly. When products or pages change, a webhook keeps the index in sync — configure it via Shopify admin webhooks.

CLI coming soon — run the web audit

Learn more about agent servers →

Score your Shopify site now

Get your free w2agent score and generate the files your site needs.

Get Your Score

CLI coming soon — run the web audit