Skip to content

Server-rendered product data: is your price in the HTML an agent actually receives?

Fetching agents do not run your JavaScript. Put product name, price and availability in the server HTML, test with curl, and fix LEG-08 in the free score.

By the ConversionVector teamUpdated 12 min read

Contents

Direct answer: If the product name and price only appear after your JavaScript runs, many AI shopping agents never see them. Page-fetching agents request your product URL and read the HTML your server returns; they do not drive a full browser. Google Search Central says server-side or pre-rendering remains a great idea because not all bots can run JavaScript, and Google's merchant-listing guidance recommends putting Product structured data in the initial HTML. In our Agent Commerce Index (Q4 2026), 76 stores could not even be basket-tested because the page as served had no add-to-basket form (it was probably added by script), and only 8 of 116 basket-tested stores let a page-fetching agent reach checkout against 96 for a browsing agent. Spec check LEG-08 fails when name and price are missing from the HTML an agent receives. Put those facts in the first response, then prove it with a curl test or the free Agent Conversion Score.

This guide is for developers, platform engineers and ecommerce managers who own the product page template. It covers what fetching agents see, how LEG-08 and related checks work, a curl-based test, and practical rendering options by stack. For the wider checkout story (403s on checkout pages, browsing agents), see page-fetching vs browsing agents.

Last verified: 6 November 2026 against Google Search Central JavaScript SEO basics and merchant-listing structured data docs, OpenAI's Overview of OpenAI Crawlers, Perplexity's crawlers guide, Anthropic's crawler help article, and Agent Conversion Score spec v0.6 (LEG-08, LEG-02, OFF-01, OFF-02, ACC-13) plus the published Index Q4 2026 figures.

Sources

What a fetching agent actually receives

Assistants reach product pages in more than one way. The distinction that matters for rendering is simple:

ModeWhat it does with your PDPWhat it can read
Page fetchHTTP GET; parses the response bodyOnly what is in that HTML (and linked resources it chooses to fetch)
Browsing agentDrives a real browserWhat a shopper sees after scripts, cookies and clicks

OpenAI documents that when users ask ChatGPT a question, it may visit a web page with the ChatGPT-User agent, and that because those actions are user-initiated, robots.txt rules may not apply. OAI-SearchBot is the automatic crawler for ChatGPT search features; GPTBot is the training crawler. Perplexity documents PerplexityBot for search results and a separate user-triggered agent. Anthropic documents ClaudeBot for training-related collection and separate user-facing fetchers. None of those public bot overviews promise that a shopping fetch will execute your full client-side storefront.

Google's own crawler story is clearer about JavaScript: Googlebot can crawl, render and index, but Google Search Central still states that server-side or pre-rendering is still a great idea because it makes sites faster for users and crawlers, and not all bots can run JavaScript. Classical or server-rendered pages put the content in the HTTP response; an "app shell" that ships an empty shell and fills price later forces every consumer that cannot run your scripts to guess.

For retailers, the commercial risk is not "Google might eventually render us". It is "the assistant that quotes our price this afternoon fetched the shell and never saw your price".

What the Index observed on product pages

The page-fetching vs browsing guide covers the basket and checkout outcomes in full. Two product-page facts from the same Q4 2026 Index (measured 19 October 2026, 225 scored retailers) belong here:

  1. 76 stores could not be basket-tested because there was "no add-to-basket form in the page as served (it is probably added by script)".
  2. Of the 116 stores where the basket test ran, only 8 let a page-fetching agent reach checkout, against 96 for a browsing agent.

Those figures do not mean every failing store hid the price. They do show how common it is for critical commerce controls to live only in client-rendered UI. Separately, the Index headline noPriceInDataPct is 23: about one in four scored retailers failed to put a numeric price in structured data (LEG-02). If the visible price is also missing from the raw HTML, a fetching agent has nothing reliable to quote.

How the free score tests server-rendered facts

The Agent Conversion Score (spec v0.6) maps this problem to weighted checks. The ones that speak directly to rendering:

CheckWeightWhat it asks
LEG-083 (Legibility)Product name and price are in the HTML an agent receives (server-rendered)
LEG-023 (cap 50)Offer with a numeric price in JSON-LD
OFF-02(Offer)Price present in the HTML an agent receives, without a login wall
OFF-013 (Offer)Structured price matches the price in the HTML an agent receives
ACC-131 (Access)Agent fetch of a product page completes in under 3 seconds

LEG-08's published fix text is: "Render product name and price on the server. Content that only appears after JavaScript runs is invisible to most agent fetches, even though people see it in a browser."

In the scoring engine, LEG-08 looks at each sampled product page. A page contributes a pass when it has a name (Product JSON-LD name or the HTML title) and a price either as visiblePrices parsed from the HTML text or as a numeric Offer price in structured data. The run can note when only raw HTML was available. OFF-01 then asks whether those two prices agree when both exist — covered in depth in price mismatch.

The free score fetches your homepage, three product pages, cart, checkout, robots.txt, sitemap, the UCP, ACP and MCP discovery documents, llms.txt and your product feed, as a real browser and as GPTBot, ChatGPT-User, PerplexityBot and ClaudeBot. It never logs in, enters personal or payment details, or places an order.

A curl test you can run in five minutes

You do not need our score to find the failure. On a staging or production product URL:

curl -sL -A 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot' \
  'https://www.example.com/products/your-sku' \
  | tee /tmp/pdp.html \
  | rg -n 'application/ld\+json|£|€|\$|GBP|EUR|USD|InStock|OutOfStock|priceCurrency|"price"'

Then open /tmp/pdp.html and confirm:

  1. HTTP status is 200 (not a challenge interstitial, soft 403, or empty app shell).
  2. Product name appears as visible text or in Product JSON-LD.
  3. Price appears next to a currency marker in the HTML text, not only inside a script that builds the DOM later.
  4. Availability is stated in text or in Offer.availability.
  5. JSON-LD Product / Offer is present in a <script type="application/ld+json"> block in that same response (Google's merchant-listing docs recommend Product structured data in the initial HTML; JavaScript-generated Product markup can make Shopping crawls less frequent and less reliable for fast-changing data).

Repeat with OAI-SearchBot, PerplexityBot and ClaudeBot user agents if your CDN varies responses by bot. If curl sees the facts and a real browser also does, fetching agents and shoppers are aligned. If only the browser does, you have a server-rendering gap.

Also time the response. ACC-13 expects an agent fetch of a product page to complete in under three seconds; cache HTML at the edge and defer non-critical scripts.

What good server-rendered product data includes

Minimum facts in the first HTML response:

  • Product name
  • Price with currency (VAT-inclusive where your market requires it on the page — see price mismatch for UK/EU display rules)
  • Availability (in stock / out of stock / pre-order), not only a greyed-out button painted by script
  • Stable product URL and rel=canonical
  • Product JSON-LD with Offer price, priceCurrency and availability (product structured data for AI agents)
  • Prefer identifiers (gtin / mpn / sku) when you have them (LEG-05)
  • Add-to-basket or equivalent action available without executing your storefront bundle, where your platform allows it

Feeds do not replace this. ChatGPT shopping, Merchant Center and other channels still use on-site pages to verify and to complete purchases on merchant-owned checkout. A clean feed with a hollow PDP is how agents quote one price and shoppers (or browsing agents) see another.

Rendering options by stack

Pick the smallest change that puts facts in the first response. Patterns that usually work:

Shopify Online Store (Liquid themes). Product templates render on the server by default. Prefer theme Liquid (or a server-rendered app block) for price and availability rather than fetching them only after hydration. Headless Hydrogen or custom storefronts need an explicit SSR or pre-render path for PDPs; if the first HTML is an empty shell, fetching agents see the shell.

WooCommerce (PHP themes). Classic themes emit price and stock in the initial HTML. Block themes and heavy client widgets can move those nodes behind JavaScript — keep the core price HTML in the template, and keep Product JSON-LD in the page head or footer without waiting for a SPA boot. Our WooCommerce agent-readiness checklist covers the wider platform set-up.

Next.js / custom React storefronts. Prefer App Router Server Components or another SSR/SSG path for the product route so name, price and JSON-LD are in the HTTP body. Client-only catalogue pages are a common LEG-08 failure. If you must hydrate for the shopper UI, still serialise the offer into the initial document.

Adobe Commerce / Magento, BigCommerce, Salesforce Commerce Cloud and other platforms. Use the platform's server-rendered product template or HTML dump for price and stock; treat JS widgets as progressive enhancement. Where a CDN serves a different body to bots, verify with the curl test above that shopping agents receive the same facts as a normal browser GET.

Edge and bot management. Allowing GPTBot or ChatGPT-User is necessary but not sufficient — see are you blocking AI shopping agents. A 200 challenge page that says "Enable JavaScript" is still a fail for LEG-08.

Common failure modes

  1. App-shell PDPs — skeleton HTML; price filled by XHR after load.
  2. Geo or consent walls that hide price until interaction (also OFF-02).
  3. JSON-LD injected only after hydration while the visible price was always server-rendered (or the reverse).
  4. Cached JSON-LD from an old price while the HTML shows the sale (OFF-01).
  5. Variant price that exists only after a size/colour click with no default variant in the initial HTML.
  6. CDN bot fights that return a different, empty body to non-browser user agents.

Fix order for a typical retail PDP

  1. Run the curl test on three best-selling URLs; note what is missing.
  2. Move name, price, availability and Product JSON-LD into the server template (same source of truth).
  3. Re-fetch as ChatGPT-User / OAI-SearchBot / PerplexityBot / ClaudeBot; confirm 200 and the same facts.
  4. Run the free Agent Conversion Score; clear LEG-08, then OFF-01 / LEG-02 if they still fail.
  5. Only then invest in browsing-agent checkout hardening (page-fetching vs browsing and agent checkout friction).

Server-rendered product data will not make every browsing agent complete payment. It will stop fetching agents from inventing or skipping your offer because the first HTML was empty — and that is the part you can fix in the template this week.

Questions

Do AI shopping agents run JavaScript on my product pages?
Many do not. Page-fetching agents request your URL over HTTP and read the HTML your server returns. Google Search Central says server-side or pre-rendering is still a great idea because not all bots can run JavaScript. Our free Agent Conversion Score checks LEG-08 against the HTML an agent receives, not against a fully rendered browser view alone.
What does LEG-08 check?
LEG-08 in the Agent Conversion Score (spec v0.6) is titled "Product name and price are in the HTML an agent receives (server-rendered)". It passes when sampled product pages carry a product name (from Product JSON-LD or the page title) and a price either as visible text next to a currency marker or as a numeric Offer price in structured data. The fix text is: render product name and price on the server.
How do I test my PDP without a browser?
Fetch a product URL with curl (or any plain HTTP client) using a shopping-agent user agent such as ChatGPT-User, then search the raw response for the product name, a currency-marked price, availability and your JSON-LD Product block. If those facts are missing from that response, a fetching agent will not see them either. The free score runs the same kind of fetch for you.
Is JSON-LD enough if the visible price is client-rendered?
JSON-LD in the initial HTML helps, and Google recommends putting Product structured data in the initial HTML for merchant listings. But LEG-08 and OFF-01 also care about the price in the page text an agent receives. If your Offer price only appears after JavaScript runs, fetching agents and our score may miss it. Put both the markup and the visible price in the first HTML response, generated from the same source.
How is this different from the page-fetching vs browsing guide?
That guide compares two agent architectures and why 8 of 116 Index stores let a fetching agent reach checkout while 96 let a browsing agent through. This guide is the product-page fix: make name, price, stock and structured data present in the server HTML so fetching agents can quote you correctly, measured by LEG-08.

Published . Last updated . More in Structured data and product feeds and the guide library.