![Shopify SEO – How To Add Schema Markup [FREE – Without APP]](/_astro/shopify-seo-how-to-add-schema-markup-free-without-app.CZtOfUmd_ZyD7lG.webp)
If you run a Shopify store, you already know how expensive paid traffic can get. Facebook Ads, TikTok Ads, Google Ads – the costs add up fast. One of the best ways to reduce your reliance on paid traffic is SEO, and one of the most overlooked SEO wins for Shopify stores is schema markup.
In this guide, we’ll walk you through exactly how to add schema markup to your Shopify product pages – completely free, without installing any app. We’ve also embedded the full video tutorial below so you can follow along step by step. Video here
What Is Schema Markup?
Schema markup is a JSON-LD (JSON Linked Data) code snippet that tells Google and other search engines exactly what your product page contains – things like:
- Star ratings
- Number of reviews
- Price and availability
- Delivery and return information
When implemented correctly, this data shows up directly in Google search results as “rich results,” making your product listings far more eye-catching than a plain blue link – which typically means a higher click-through rate.
Why Schema Markup Matters for Shopify SEO
Search engines can’t “see” your page the way a human does. Schema markup translates your product information into a structured format that Google can read and display. Stores that use schema markup often stand out more in search results, which can lead to more organic (free) traffic over time — reducing how much you need to spend on ads.
Step-by-Step: How to Add Schema Markup to Shopify (Free Method)
Step 1: Check If Your Product Pages Already Have Schema Markup
Before making any changes, test your current product page using Google’s Rich Results Test tool:
- Copy your product page URL.
- Go to Google’s Rich Results Test.
- Paste the URL and click Test URL.
If no schema markup is found, your page will only show a basic title and description in search results – no star ratings, no pricing, no rich data.
Step 2: Generate Your Free Shopify Schema Code
Instead of paying for an app, use a free code generator:
- Visit seoschemamarkup.com.
- Go to Generators and select Shopify Product Schema.
- Copy the liquid code provided.
This code automatically pulls your product title and description dynamically for every product – no manual editing needed per product.
Step 3: Create Metafields for Ratings
To display star ratings, review counts, and best rating values, you’ll need three metafields:
- In your Shopify admin, go to Settings > Metafields and Metaobjects.
- Click Products, then Add Definition.
- Create the following three metafields:
- Average Rating — type: Decimal
- Review Count — type: Integer (not decimal – more on this below)
- Best Rating — type: Decimal
Step 4: Add Metafield Code to Your Schema
For each metafield you create:
- Click Copy to Clipboard next to the metafield code.
- Paste it into the corresponding section of the schema code you generated in Step 2.
Repeat this for all three metafields (average rating, review count, best rating).
Step 5: Add the Code to Your Theme
- Go to Online Store > Themes.
- Click the three-dot menu and select Edit Code.
- Important: Duplicate your theme first as a backup before editing a live theme.
- Open theme.liquid.
- Paste your schema code right before the closing
</head>tag. - Save the file.
Step 6: Add Your Rating Values to Each Product
- Open any product page in your Shopify admin.
- Scroll to the metafields section.
- Enter your values — for example: Average Rating: 4.8, Review Count: 100, Best Rating: 5.
- Click Save.
Step 7: Verify the Schema Is Live
- Preview your product page and select View Page Source.
- Search for
"@type": "Product"to confirm the schema code is present and pulling your metafield values correctly.
Step 8: Fix the Common Integer vs. Decimal Error
A common issue: if your Review Count metafield is set to Decimal, Google’s Rich Results Test will flag an “invalid integer” warning. To fix it:
- Delete the existing Review Count metafield.
- Recreate it with the type set to Integer.
- Re-enter your review count value and save.
Step 9: Run a Final Validation Test
- Copy your final schema code.
- Go to Google’s Rich Results Test and select Code instead of URL.
- Paste your code and click Test Code.
You should see valid results for Product Snippet, Merchant Listing, and Review Snippet with no errors. You can also use the built-in validator at seoschemamarkup.com to double-check your code before publishing.
Errors vs. Warnings: What’s the Difference?
- Errors (red): Google will not implement your schema markup at all until it’s fixed.
- Warnings (yellow): Your schema markup will still work, but there’s room for improvement.
Always aim to resolve errors first, then clean up warnings when possible.
Final Thoughts
Adding schema markup to your Shopify store is one of the simplest, highest-impact SEO changes you can make and it costs nothing if you follow this method. Once it’s set up, your product pages are far more likely to stand out in search results with star ratings, pricing, and review counts, which can improve your click-through rate and reduce your dependence on paid ads over time.
Watch the full video tutorial above for a complete walkthrough, and don’t forget to submit your products through Google Search Console for faster indexing.
Need help implementing SEO or schema markup on your Shopify store? Contact WebSensePro — we help Shopify store owners grow organic traffic without relying on expensive ads.




![Image related to shopify seo – how to add schema markup [free – without app]](/_astro/shopify-seo-how-to-add-schema-markup-free-without-app.CZtOfUmd_2pFd8A.webp)

