Schema Markup Blog — Guides, Tips & Tools | SchemaGenerator.app

How to Add Schema Markup to Shopify (3 Methods)

Written by Ivan P. | May 2, 2026 9:33:54 AM

If you sell on Shopify, you're leaving Google traffic on the table.

Schema markup — structured data that tells Google exactly what's on your page — unlocks rich results: star ratings, prices, and stock availability right in the search results. Shopify stores with product schema consistently see higher click-through rates than those without it.

The good news: you don't need to be a developer. Here are three ways to add schema markup to Shopify, from easiest to most flexible.

Why Shopify Stores Need Schema Markup

When Google crawls your product pages, it sees HTML. Schema markup gives it a layer of context — a machine-readable description of your product's name, price, availability, and reviews.

Without it, Google might show your product page as a plain blue link. With it, you can get this in search results:

  • ⭐⭐⭐⭐⭐ 4.8 (312 reviews)
  • £49.00 — In Stock

That's the difference between being ignored and being clicked.

Shopify generates some basic schema automatically, but it's often incomplete — missing review data, aggregate ratings, or product variants. That's the gap these methods fill.

Method 1: Use a Shopify App (Easiest)

If you want zero technical involvement, a Shopify app is the fastest route.

Recommended apps:

  • Schema Plus for SEO — automatically adds structured data across product, collection, and blog pages
  • TinyIMG — includes schema alongside image optimisation
  • JSON-LD for SEO — dedicated schema app, widely used

How to install:

  1. Go to your Shopify Admin → Apps → Search for the app
  2. Install and follow the setup wizard
  3. The app handles schema injection automatically

Pros: No code, works immediately, handles schema updates when your products change.
Cons: Monthly cost ($10–$30/mo), less control over the exact output, adds another dependency to your store.

Best for: Store owners who want a set-and-forget solution.

Method 2: Edit Your Shopify Theme Files (Manual JSON-LD)

If you're comfortable in Shopify's theme editor, you can add JSON-LD directly to your product template. This gives you full control over the output.

Step 1: Go to your theme editor

In Shopify Admin → Online Store → Themes → click the three dots next to your current theme → Edit code.

Step 2: Find your product template

In the file browser, look for sections/product-template.liquid or templates/product.json. The exact filename depends on your theme.

Step 3: Add the JSON-LD script block

Paste this before the closing </section> tag in your product template:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "",
  "description": "",
  "image": "",
  "url": "",
  "brand": {
    "@type": "Brand",
    "name": ""
  },
  "offers": {
    "@type": "Offer",
    "price": "",
    "priceCurrency": "",
    "availability": "https://schema.org/OutOfStock",
    "url": ""
  }
}
</script>

Step 4: Save and test

Paste your product page URL into Google's Rich Results Test to verify the schema is valid.

Pros: Free, full control, no app dependency.
Cons: Requires careful editing — a syntax error can break your template.

Best for: Developers or technical store owners comfortable with Liquid.

Method 3: Use SchemaGenerator.app (No Code, Any Schema Type)

This method works for any schema type — product pages (Product schema), your About page (Organization schema), blog posts (Article schema), or FAQ sections (FAQPage schema) — without touching theme files.

How it works:

  1. Go to SchemaGenerator.app
  2. Paste your Shopify page URL
  3. The AI reads the page and fills in the structured data fields automatically
  4. Review and edit any field, then copy the JSON-LD output
  5. Paste it into your Shopify theme

Where to paste in Shopify:

In your theme editor, open the template for the page type you're adding schema to. Add a new <script type="application/ld+json"> block and paste the generated code inside it.

Pros: Works for all 13+ schema types, no manual JSON writing, output is validated, free to start.
Cons: You still need to paste into Shopify — it's not a full auto-install.

Best for: Non-technical store owners who need more than just product schema.

How to Test Your Schema Markup

Whichever method you use, always test before considering it done.

Google's Rich Results Test — paste your URL at search.google.com/test/rich-results. This shows you exactly what Google sees and flags any errors.

Common issues to look for:

  • Missing required fields (price currency, availability)
  • Review schema without a corresponding aggregate rating
  • Prices formatted with currency symbols instead of numeric values

Which Method Should You Use?

SituationBest method
Non-technical, just want it doneApp (Method 1)
Developer comfortable with LiquidManual JSON-LD (Method 2)
Need FAQ, Organization, or Article schemaSchemaGenerator.app (Method 3)
Want to validate before going liveSchemaGenerator.app (Method 3)
Large catalogue, need automationApp (Method 1)

Schema markup is one of the highest-ROI SEO changes a Shopify store can make. It costs nothing to implement and can meaningfully increase your click-through rate from Google.

If you're not sure which schema types your pages need, start with SchemaGenerator.app — paste any URL and it'll show you what structured data makes sense for that page.