How to add and test Product schema
Product schema is code on a product page that spells out the product’s name, price and stock status for Google. It’s also called Product structured data. Valid markup can help a page qualify for product details in search results, such as the price shown under the link, but Google decides whether to show them.
Does Product schema get you product rich results?
Yes, it can help. Valid Product markup can make an eligible page qualify for product rich results, but Google decides whether they appear.
High confidence. Strong evidence, or the platform says so in its own docs. Based on 5 sources: 1 controlled test, 1 case study, 3 official docs.
What to do
Check eligible product pages with the Rich Results Test, then see whether Google shows price, availability, or other product details in search.
On this page
Which page should get Product schema?
A page about one product. Say your Trail 20 backpack page shows the product name, a photo, the price in dollars and whether it’s in stock. That’s a good fit. A category page that lists fifteen backpacks is not.
Google has two sets of rules. Merchant listings are for pages where shoppers can buy the product on your site. Product snippets are for pages that review or compare products without selling them. Pick the set that fits your page before you choose fields.
Bottom line
Pick one product page, decide whether it sells or reviews the product, and follow the matching Google rules.
Add your products to Merchant Center for the Shopping tab
Say you sell a $39 backpack. Product markup on the page tells Google that it costs $39 and is in stock. Supplying the same product data in Merchant Center gives Google a product listing to check for Shopping. Match the price and availability across both places.
Choose a product source that fits your store. Connect your ecommerce platform, use the automatic product source if it’s available, or upload a feed. Google requires Merchant Center participation for the Shopping tab. Your page can still qualify for some product appearances in regular Google Search through Product markup.
- In Merchant Center, open the product list and select one item. Confirm the product URL is correct.
- Check the item’s status for free listings. Fix any price, availability, or other issue on the site or in the product source.
- After approval, track free-listing impressionsimpressionsThe number of times a link to your site appeared in search results, whether or not anyone clicked it. and clicks separately from Shopping ads.
Bottom line
Check one product from the page through to Merchant Center before you roll out changes to the whole catalog.
- Compare Product markup and Merchant Center across Google surfaces
- Check whether Google can import products from your store
See the evidence for Add your products to Google Merchant Center
Yes. Google requires Merchant Center participation for the Shopping tab. Supplying eligible product data helps your products qualify for free listings there. Google decides which products to show.
Google documents the Shopping tab requirement and multiple ways to supply product data. One store recorded more free-listing clicks after adding products while rewriting product pages, so the case leaves the effect of adding products alone open.
- Share your product data with Google
Google says Merchant Center participation is required for the Shopping tab. It also says products can appear in other Google Search experiences without a Merchant Center feed.
- Add products automatically from your online store
Google documents automatic product import from a website into Merchant Center. Merchants can see and manage these products in the Found by Google source.
- Google Shopping Ads: Worth It for Shopify?
The store recorded 5 free-listing clicks from May 5 to June 3, 2026 and 34 from August 17 to September 15, 2026. Best sellers went live through the Google channel on August 24.
How to add Product schema (with an example)
Most stores add Product schema as JSON-LDJSON-LDThe format Google recommends for structured data: a block of code in the page that labels its key details.. That’s a small block of code in a <script> tag that search engines read and visitors never see. Shopify themes and WooCommerce often add basic Product markup for you, so run the Rich Resultsrich resultsSearch results with extra details, such as star ratings, prices, or event dates, usually made possible by structured data. Test first to see what’s already there.
The example below describes a $79 backpack that’s in stock in the US. Pull the price and stock status from the same system that feeds your Add to cart box. When the item sells out, the page and the markup should change together. Add ratings only if they’re real and match what the page shows.
Before rolling it out to every product, test three pages: one in stock, one sold out, and one with a recent price change. Compare each value in the markup with what a shopper sees. This example shows only the core fields, so check Google’s full list for the rules you picked.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Trail 20 Backpack",
"image": "https://example.com/images/trail-20.jpg",
"offers": {
"@type": "Offer",
"url": "https://example.com/packs/trail-20/",
"price": 79.00,
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
}
}
</script> Bottom line
The price and stock status in your markup must always match the page. Pull both from the same source so they can’t drift apart.
How do I test Product schema?
Paste the published product URL into Google’s Rich Results Test. Open the detected Product item and fix any errors. Check that the name, price and availability match the page someone can buy from.
After rollout, open Search ConsoleSearch ConsoleGoogle’s free dashboard for site owners. It shows which searches bring people to your site and flags problems Google finds.. Under Shopping, the Merchant listings and Product snippets reports show errors across all your product pages.
A passing test means Google can read your markup and the page qualifies. It doesn’t promise that Google will show anything extra. In the Performance report, use the Search appearance filter for product results and look at impressions and clicks separately. If traffic changes, consider price, stock and other edits before giving the markup credit.
- Stars, price, and stock come from your Product structured data. Valid markup makes the page eligible, and Google decides whether to show them.
Bottom line
A clean Rich Results Test is the part you control. Whether Google shows product details is up to Google, so don’t judge the markup on that alone.
Can you add review stars without reviews?
No. If a product has zero reviews, leave its rating markup out. A five-star rating your team made up breaks Google’s structured datastructured dataCode that labels the information on a page, such as a product’s price or a business’s hours, so search engines can read it reliably. rules, even if the Rich Results Test accepts the code.
When reviews come in, check that the markup matches the rating and review count shoppers see on that product page. Google also says to leave out ratings collected from other websites.
The risk here is losing rich results, the extra details such as stars that appear under your link. Google says a structured data manual actionmanual actionA penalty a Google reviewer applies when a site breaks Google’s spam rules. You can see it in Search Console., a penalty applied by a Google reviewer, affects these extras and leaves your ordinary web ranking alone.
- Open a product page with reviews and another with none.
- Compare each page’s visible rating and count with its markup. Remove any made-up ratings or default values that appear before the first review.
- Run the Rich Results Test for both pages. Check Manual actions in Search Console if Google has flagged a markup problem.
The evidence
Both the product snippet and merchant listing guides explicitly say display is discretionary. They reflect the same search engine’s rules.
- Product snippet (Product, Review, Offer) structured data
The Product snippet guide says Google does not guarantee that features using structured data will show in search results.
- Merchant listing (Product, Offer) structured data
Product markup can make pages eligible for merchant listing features. Google expressly gives no guarantee that those features will appear.
- General structured data guidelines
Google says correct markup and a passing Rich Results Test do not guarantee display. Search context such as location and device can influence selection.
- How CatsPlay Earned Google Star Ratings with BigCommerce Schema
The vendor reports that eligible product pages began displaying star ratings, review counts, and prices about 12–15 days after implementation. It shows one product before and after.
- Impact on SEO performance of price and review schema
The combined price and review variant had no detectable traffic effect. The review-only markup variant showed an estimated 20% organic traffic lift.
Every source above was checked against the original by a second reviewer. How we rate the evidence