How-to Guide
How to add Product JSON-LD schema for AI
To make products machine-readable for AI engines, add Product JSON-LD schema to each product page: name, description, brand, and an offers block with price, currency, and availability. Place it in a <script type="application/ld+json"> tag in the page head or body. A complete template is below.
- 01
Add the Product schema block
Add a JSON-LD Product block to each product page with the core fields AI engines look for. Fill in your real values — do not leave placeholder text, which AI will not trust.
<script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Product", "name": "Niacinamide 10% Serum", "description": "A local serum for oily skin, visible pores, and sensitive skin.", "brand": { "@type": "Brand", "name": "Your Brand" }, "offers": { "@type": "Offer", "price": "120000", "priceCurrency": "IDR", "availability": "https://schema.org/InStock" } } </script> - 02
Match the schema to visible content
The schema must reflect what is actually on the page. If the price or product name in the schema differs from the visible page, engines may ignore or distrust it. Keep them in sync.
- 03
Validate the JSON-LD
Run the page through a structured-data validator (such as Schema.org's validator or Google's Rich Results Test) to confirm the JSON-LD parses without errors before relying on it.
- 04
Rescan to confirm
After the file is live, run the audit again. The goal is not a one-time score — it is verifying the crawler access, schema, and content actually changed. TerlihatAI generates these files for your site and re-checks them on rescan.
FAQ
Where do I put the Product JSON-LD?
Inside a <script type="application/ld+json"> tag on the product page — head or body both work. On Shopify or WordPress you can add it via the theme template or a schema app/plugin.
Which Product fields matter most for AI?
name, description, brand, and the offers block (price, priceCurrency, availability). These let AI engines state what you sell, how much it costs, and whether it is in stock.
Skip the manual work
Run a free audit — TerlihatAI generates these files for your site and verifies them on rescan.
Run a free audit