Schema markup for ecommerce helps search engines and other discovery tools understand your products, prices, reviews, and availability. When your store’s data is easier to read, your pages have a better chance of showing up accurately in search results.
That goes beyond traditional search. Structured data can improve how products appear across Google, mobile search experiences, and app- or AI-driven discovery, helping more shoppers find your store and product pages. In fact, AI-driven traffic to Shopify sites grew eight times year-over-year in 2025 as AI-driven orders grew 15 times.
This guide explains what ecommerce schema markup is, why it matters for organic traffic, and which structured data types you can add to your online store.
What is ecommerce schema markup?
Ecommerce schema markup is a standardized structured data format, specifically using the Schema.org—structure added to a website’s HTML to help search engines and large language models (LLMs) understand the exact context of a commercial page. Most schema is written in JSON-LD (JavaScript Object Notation for Linked Data), a lightweight script that sits in your page’s HTML and translates your product data into a format crawlers can better parse.
Fields like name, price, currency, availability, review score, and GTIN get explicitly labeled and fed directly into Google’s Shopping Graph, which powers product results across search, Images, Shopping, and AI Overviews.
Google Search Central’s own documentation confirms that structured data consistently drives higher click-through rates (CTRs), more visits, and stronger user engagement.
Rich snippets
While ecommerce schema markup is the code you add to your store, rich snippets are what shoppers see as a result of it. Schema is the input; rich snippets are the output—the enhanced search result that shows star ratings, pricing, stock availability, and review counts directly in the SERP, before a shopper clicks.
For example, if you Google “water bottle,” Yeti’s result shows a 4.4-star store rating, 26 reviews, a 30-day returns policy, free delivery, and product images. All of this information leads to reassurance and therefore an expected higher CTR.

How schema markup works
Schema markup lives in your page’s HTML inside a <script> tag. That tag tells the browser, and any crawler reading your page, that what follows is structured data, not content to render.
For JSON-LD specifically, it looks like this:

Everything between the opening and closing script tags is your structured data block between curly brackets. Here’s a simple product example:

Merchants who can read their own markup can catch mismatches between what’s on the page and what’s in the code and validate changes before errors cause problems. Google’s Rich Results Test lets you do that without a line of code.
JSON-LD isn’t the only format; microdata embeds structured data directly into existing HTML tags rather than a separate script block.

TIP: Shopify’s structured_data Liquid filter generates JSON-LD automatically for product and article pages, though the default output covers only the basics. Fields like breadcrumbs, FAQs, and return policies typically need to be added manually or via an app.
How schema builds authority with Google
Schema can help Google assess your experience, expertise, authority, and trustworthiness: the EEAT signals it uses to evaluate whether a site is worth surfacing. Structured data makes those signals explicit, drawing connections Google might have missed from crawling your HTML alone.
“Implementing schema markup serves as positive directional information for EEAT, further enhancing your site’s credibility in the eyes of both users, LLMs and search engines,” says Arthur Camberlein, technical SEO lead at Shopify.
As AI-powered shopping assistants and machine-driven discovery become more common, structured data is one of the clearest signals these systems use to evaluate and surface products.
But it’s important to know when and where to apply it. “When considering ecommerce schema, it’s essential to remember that schema markup are just indicators—additional context for bots to better understand your content,” says Arthur.
“For example, product pages will include information like ratings, price, and availability, while blog posts will typically feature author information and FAQ schemas.”
Arthur recommends implementing ecommerce schema step by step, one type at a time, so you can track impact clearly and avoid disrupting user experience or site performance in the process.
Shopify is already building for this shift. Agentic Storefronts let merchants get discovered on AI platforms like ChatGPT, Perplexity, and Microsoft Copilot through a single setup in their admin.
Classify and group products by standard attributes and metafields so that agents accurately present products in searches, and track policies, FAQs, and brand voice via the Knowledge Base App. The infrastructure powering it is Shopify Catalog, structured product data that AI systems can parse and understand. Schema markup is what makes that data reliable.
How to build structured data
Building schema can be a complicated process. Google Search Central covers the full technical details, but the core process follows five steps:
1. Insert structured data
On most sites, structured data sits in the <head> section of your HTML inside a <script> tag. On Shopify, the structured_data Liquid filter handles this automatically for product and article pages. You’ll find it in your theme’s main-product.liquid file. Schema types your theme doesn’t generate by default will need to be added manually via your theme code or a schema app.
2. Test
Run your URLs throughGoogle’s Rich Results Test before pushing anything live. The tool does three things: confirms whether your page is eligible for rich results, surfaces blocking errors on required fields that will prevent rich results from appearing at all, and flags warnings on recommended fields that won’t break eligibility but will limit what Google can display. Fix required field errors first, then work through warnings.
3. Do a trial run with a few deployed pages
Use Google’s URL Inspection tool in Search Console to see how Google actually reads the page after it’s live. If the structured data is rendering correctly, proceed.
4. Ask Google to recrawl
If you’ve updated a small number of pages, use the “Request indexing” option in the URL Inspection tool. For site-wide changes, resubmit your sitemap via Google Search Console. Google crawls automatically, but resubmitting accelerates the process.
5. Keep your markup current and compliant
Structured data and merchant feeds should contain only catalog information: product names, prices, availability, reviews, and return policies. Customer names, email addresses, order IDs, or any personal identifiers don’t belong in your markup under GDPR or CCPA regulations. Use robots.txt to block crawlers from private or account-specific pages, and consider an llms.txt file to signal to AI crawlers which parts of your site should and shouldn’t be indexed.
TIP: Add schema markup to your Shopify store by editing your theme code directly or by installing an app like Schema Plus for SEO & JSON‑LD from the Shopify App Store.
Types of structured data for your ecommerce website
- Organization schema
- Local business schema
- Product schema
- Price schema
- Breadcrumb schema
- Product availability schema
Not every store needs every schema type, and implementing all of them indiscriminately isn’t the goal. Some schema types deliver a broad impact across most ecommerce stores, regardless of what you sell or how you operate. Others are more situational; genuinely valuable for the right merchant, unnecessary overhead for everyone else.
This list covers the schema types worth prioritizing for ecommerce:
Organization schema
Organization schema tells search engines who is behind your store: your business name, logo, address, contact information, and social profiles. This context feeds into Google’s knowledge panel and helps disambiguate your brand in search results.
For online stores, Google recommends using the OnlineStore subtype of Organization rather than the generic type. Apply it to your homepage, because that’s where Google expects to find it.

There are no required properties. Google recommends adding as many relevant fields as possible, prioritizing those that confirm real-world presence, like your address and phone number, and online presence.
Local business schema
If your ecommerce store has one or more physical locations, the local business schema tells search engines the operational details shoppers need before they visit. Place the markup on the dedicated landing page for each location.
Use the most specific subtype available rather than the generic LocalBusiness type—Boutique, SportingGoodsStore, HomeGoodsStore—and follow Organization fields alongside LocalBusiness-specific ones for the most complete output.

For merchants with multiple locations, create a separate schema block for each one.
Read more: Local SEO: What It Is and How To Do It (2024)
Product schema
Shopify themes generate product schema automatically using the structured_data Liquid filter, which outputs JSON-LD into your page’s HTML. The default output covers the basics: name, price, availability, and URL.
Fields like description, images, GTIN, brand, SKU, reviews, shipping rates, and return policy typically need to be added manually via your theme code or a schema app.
Fields you can mark up on a product page include name, description, color, dimensions, product category, product ID, images, availability, special offers, brand, reviews and ratings, shipping rates, SKU, and delivery times.
There’s no dedicated schema type for category pages, but there’s a workable alternative: use ItemList and make each product a ListItem.

Note the Offer wrapper around price; bare price strings without it won’t validate correctly against Google’s merchant listing requirements.
Price schema
Price schema sits inside your Offer block, not as a separate schema type. The core fields—price, priceCurrency, priceValidUntil, availability, and itemCondition—tell Google what a product costs, in what currency, and whether it’s currently purchasable.
For standard price:

For sale price with strikethrough original price:
To trigger a price drop rich result, use UnitPriceSpecification with a priceType of StrikethroughPrice for the original price. The active sale price goes at the Offer level without a priceType. Google uses that as the current price automatically.

Breadcrumb schema
Breadcrumb schema helps search engines understand the hierarchical structure of your store—how a product page sits within a category, within a department, within the site. When Google displays breadcrumbs in search results, shoppers can see exactly where a page lives before they click.
To specify breadcrumbs, define a BreadcrumbList that contains at least two ListItem elements. Each ListItem needs a position, its order in the trail, and a name. Use absolute URLs for the item property on every step except the last. The final breadcrumb represents the current page and doesn’t need a URL.

Product availability schema
Availability schema tells search engines and AI-powered shopping tools the one thing shoppers need to know before they click: whether a product is purchasable right now. This schema sits inside your Offer block as a single availability property, pointing to a Schema.org URL.
The accepted values are:
- https://schema.org/InStock
- https://schema.org/OutOfStock
- https://schema.org/PreOrder
- https://schema.org/BackOrder
- https://schema.org/Discontinued

A product that’s in stock at 9 a.m. can be sold out by noon, and if your structured data still reads InStock, you’re sending shoppers to a dead end.
Search engines use the availability field to verify and cross-reference the stock status visible on your page. AI shopping tools go further; they read structured data directly to make recommendations. A mismatch between your markup and your actual inventory erodes the reliability signal that gets your products surfaced in the first place.
Other schema types to consider
The schema types covered so far handle the core of what search engines and AI systems need to evaluate and surface your store.
The types below go further, adding context around the content that surrounds your products: videos, reviews, editorial content, and news. Each one strengthens a specific type of search visibility.
Video schema
Video schema marks up livestreams and product videos with description, thumbnail URL, upload date, and duration. Well-implemented video schema raises visibility across video search, Google Images, and Google Discover. It’s particularly useful for product demos and how-to content that influences purchase decisions before a shopper ever lands on your store.
FAQ schema
FAQ schema marks up question-and-answer content with FAQPage and Question types. FAQ schema structures your Q&A content in a format that AI systems parse directly.
Review schema
Review schema adds structured markup to user reviews, including reviewer information, rating value, and review content. It is what powers the star ratings visible in rich snippets, and what AI shopping tools read to assess product quality signals without scraping page text.
Article schema
Article schema marks up blog posts and informational content with headline, author, publication date, FAQ blocks, and article body. It’s useful for content that targets top-of-funnel queries and builds topical authority around your product categories.
News schema
News schema provides structured context for news-related content, including headline, author, publication date, and article body.
MerchantReturnPolicy schema
MerchantReturnPolicy schema displays return policies alongside your product and in search results. Since Google tightened its requirements, returnPolicyCountry is now a required field in the MerchantReturnPolicy schema, using the two-letter ISO 3166-1 alpha-2 country code to specify where the return policy applies. If your return policy markup pre-dates Google’s March 2025 update, check it, because missing required fields generate Search Console errors that drag down your structured data health over time.
Ecommerce schema FAQ
How can ecommerce schema impact my online store’s visibility?
Ecommerce schema enhances your online store’s visibility by enabling search engines to understand product information more effectively. Implementing schema markup can lead to rich snippets in search results, highlighting key data such as prices and reviews. This improved visibility often results in higher click-through rates, ultimately driving more traffic and potential sales to your ecommerce site.
What is schema in ecommerce?
Schema is the description of webpage content in the form of a structured data vocabulary. In ecommerce, a schema type helps Google understand meaningful information such as products, prices, availability, and reviews.
Does Shopify use schema?
Product schema is built into many Shopify store themes, including the free flagship theme, Dawn. However, you can also add additional structured data manually to a Shopify website with a structured data liquid filter, or use schema markup applications to automate the process.
What is a schema example?
A basic product schema for ecommerce includes product markup code to capture information like the name, price, image, and availability. Each attribute consists of a name and a value, like "price" : $79.
How does schema markup improve search visibility?
Schema markup improves search visibility by making your content easier for search engines to understand and by helping your pages appear as richer, more informative search results that attract more clicks.












