How to Add Schema Markup Manually to Your Website (Shopify SEO Guide)
If you’re running a Shopify store, you’ve probably heard terms like structured data, schema markup, and rich results. These aren’t just technical buzzwords; they’re among the most powerful SEO tools for increasing your visibility in Google Search.
By Berker Bozdoganoglu, October 8, 2025
Schema markup (structured data in JSON-LD format) helps search engines understand your site’s content in a more meaningful way. Instead of just crawling text, Google can interpret your products, prices, stock availability, customer reviews, FAQs, and more. With schema in place, your store can qualify for rich snippets, product carousels, FAQ dropdowns, and even AI Overviews, leading to higher click-through rates (CTR) and improved rankings.
Nowadays, schema markup (structured data) is no longer optional - it's a strategic necessity. Search engines (especially Google) increasingly use AI and knowledge graphs to parse your content, decide what to show in AI overviews, and determine whether your site qualifies for rich snippets. If your site lacks good schema, you risk losing visibility in zero-click results or being omitted from AI answer boxes.
In this guide, we’ll cover everything you need to know about manually adding schema markup to your Shopify website. You’ll learn how to edit Liquid files, inject JSON-LD scripts, validate your structured data, and optimize for maximum SEO impact. Finally, we’ll explain why apps like SchemaPlus for Shopify are an easy and reliable way to scale schema implementation across your store.
Schema markup (a kind of structured data) is code (usually JSON-LD) embedded in your pages that provides additional context to search engines: “this page is a Product, here is its price, availability, reviews, etc.” Using schema lets Google better understand your content and increases the chances of rich results (e.g. stars, price, FAQ dropdowns) rather than plain search snippets.
For example:
Key benefits:
Google itself recommends using JSON-LD format for structured data.
While Shopify themes often include basic schema (e.g., product schema built into the Dawn theme), many store owners need to inject extra schema (for FAQ, breadcrumbs, local business, etc.) or customize. By embedding schema markup in your site’s HTML, you help Google display your content in enhanced search listings (rich results), which are proven to boost visibility and engagement.
Because you’re using Shopify, the manual approach involves editing your theme’s Liquid files (e.g., product.liquid, theme.liquid) and inserting JSON-LD script blocks at appropriate places.
Adding schema markup manually in Shopify involves working with Liquid templates. Here’s a full technical walkthrough:
You will add schema into templates that correspond to the kind of content:
Schema Type | Template / File to edit | Where to insert |
Organization / Local Business | theme.liquid (in <head>) | near top of <head> |
Product Schema | product.liquid or main-product.liquid or product-template.liquid | inside <head> or right before </body> |
FAQ Schema (for blog posts or FAQ pages) | in the blog post template (article.liquid or the blog section) | within post HTML (often at bottom) |
Breadcrumbs | wherever your theme outputs breadcrumbs (e.g., breadcrumb.liquid snippet) | inside head or just before content |
Collection / Category pages | collection.liquid (or section) | inside <head> or near top of the page |
Tip: Some themes use sections (sections/) instead of traditional templates. Insert schema scripts into the correct section or snippet used by your layout.
Here’s a minimal example for a Product schema in Shopify Liquid:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Product",
"name": "{{ product.title | escape }}",
"image": [
{% for img in product.images %}
"{{ img | img_url: 'original' }}"{% unless forloop.last %},{% endunless %}
{% endfor %}
],
"description": "{{ product.description | strip_newlines | escape }}",
"sku": "{{ product.sku | escape }}",
"brand": {
"@type": "Brand",
"name": "{{ product.vendor | escape }}"
},
"offers": {
"@type": "Offer",
"url": "{{ canonical_url }}",
"priceCurrency": "{{ shop.currency }}",
"price": "{{ product.price | money_without_currency }}",
"availability": "{% if product.available %}https://schema.org/InStock{% else %}https://schema.org/OutOfStock{% endif %}",
"itemCondition": "https://schema.org/NewCondition"
}
{% if product.metafields.reviews.rating %}
,"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "{{ product.metafields.reviews.rating }}",
"reviewCount": "{{ product.metafields.reviews.count }}"
}
{% endif %}
}
</script>
You can extend with additional properties such as gtin, mpn, offers.priceValidUntil, review, etc.
FAQ Schema example (for blog or FAQ pages):
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"FAQPage",
"mainEntity":[
{
"@type":"Question",
"name":"What is your return policy?",
"acceptedAnswer":{
"@type":"Answer",
"text":"Our return policy is 30 days with full refund..."
}
},
{
"@type":"Question",
"name":"Do you ship internationally?",
"acceptedAnswer":{
"@type":"Answer",
"text":"Yes, we ship to many countries worldwide..."
}
}
]
}
</script>
You generate that either manually or with a free FAQ schema generator and then paste it into the blog/FAQ page HTML (via article.liquid or in the content HTML) ed.codes.
Schema isn’t “set and forget.” Update your markup whenever product data, policies, or store details change. Periodic audits ensure accuracy and compliance with Google’s evolving schema guidelines.
While manual schema implementation gives you full control, it can be time-consuming, technical, and error-prone. This is where apps like SchemaPlus shine.
SchemaPlus is a top-rated Shopify app that automatically adds high-quality, JSON-LD schema markup to your store. It’s designed specifically for eCommerce merchants who want powerful SEO benefits without coding.
For Shopify merchants who want to save time, avoid technical complexity, and maximize SEO performance, SchemaPlus is the perfect solution. By automating structured data, you ensure your store is always optimized for Google Search, AI Overviews, voice queries, and future search innovations.
Schema markup is no longer optional in modern SEO - it’s essential. By adding structured data manually to your Shopify store, you can:
For hands-on store owners, manual schema editing provides full control and customization. But for busy merchants who want to guarantee correct, high-quality markup at scale, SchemaPlus for Shopify is the easiest and most effective option.
Whether you go manual or use SchemaPlus, the key is consistency: structured data done right can transform your SEO strategy, keep you competitive, and drive more organic sales.