Search engines use schema markup to understand the pages. It’s used to display products in rich snippets and organic search results. Therefore, Shopify schema markup can help you improve organic visibility in search engines.
By default, Shopify themes come with limited structured data markups. While you can fix this by editing theme code, it is risky and time-consuming. In this guide, we’ll show you how to set up schema markup using both the app method.
How Shopify Themes Handle Structured Data?
In Shopify, the themes are written in liquid, which is a templating language. It generates the client-side HTML code.
The Shopify theme files use the structured_data filter to generate structured data markup code in JSON-LD format. It’s present in the liquid files for products, collections, articles, pages, etc.
For example, here’s how it looks like in the product page liquid file (main-product.liquid):
<script type="application/ld+json">
{{ product | structured_data }}
</script>
In the above code, the structured_data filter dynamically generates and adds JSON-LD structured data for the product.

The only drawback here with this in-build code is that it generates schema markup code with limited information. For example, the product schema does not contain shipping details and a return policy, which is required for Google merchant listing.
You can use a Shopify app or manually modify the theme liquid files to fix structured data markups. In the following sections, you’ll learn the app method.
How to Add Schema Markup using a Shopify App
Setting up structured data manually can be complex and risky for your theme code. The easiest way is to install the Meetanshi Schema & SEO AI app from the Shopify App Store and configure complete JSON-LD markup in four simple steps:
Step 1: Set Up Identity and Brand Details
Start on the Setup Guide dashboard > Shop Details and complete the checklist.
Next, navigate to the Shop Details section from the left side panel to fill out your brand identity so search engines can verify your business in Google’s Knowledge Panel.
- Brand identity: Enter your customer-facing brand name, official registered legal name, and primary canonical store website URL.
- Visuals and messaging: Provide a direct link to your store logo URL, and write a brief description of your brand along with your official tagline.
- Physical presence: Add your physical street address, country, state or province, city, postal code or ZIP, and your store price range tier.
- Business verification: Fill in your business registration identifiers like your DUNS number, Tax ID, or VAT ID, and click Add Founder to enter your company founder names and official founding date.

Step 2: Add Social Profiles and Support Contacts
Still inside the Shop Details page, scroll down to the Social Media Profiles & Support Contacts section.
- Social profiles: Go to Social Media Links, click + Add more, select your desired platform from the dropdown menu, and paste your profile URL for each active brand account.
- Dedicated phone support: Provide contact numbers for Customer Service, Sales, and Technical Support.
- Customer care channels: Input your primary Support Email address, choose your Area Served (such as Worldwide or USA), and add the direct link to your Customer Service Page.

Step 3: Set Up Global Shipping and Return Policies
From the left panel, click Global to set up storewide logistics for rich delivery and return badges.
- Shipping details: Under Shipping, select your target region, currency, and baseline shipping rates (enter 0 for free shipping).
- Delivery timeline: Set your handling and transit times, check Use Business Days, and set an optional order cut-off time.
- Return rules: In Returns, select your target countries, set the return window (e.g., 30 days), and pick accepted return methods.
- Return logistics: Specify who covers return shipping costs and paste your direct return policy URL.

Step 4: Activate Storefront Schemas and Validate Your Code
From the left-side panel, open Schema Configuration to deploy structured data across your live store and verify it without errors.
- Master activation: Switch the master toggle Show schema markup on storefront to On at the top of the dashboard.
- Page-level schemas: Use the top horizontal tabs to enable Organization and Website for the Homepage, ItemList for Collections, and Article for Blog Posts. Use the Search Preview panel on the left to review your live appearance.
- Product & policy toggles: Open the Product tab to turn on Product schema and Merchant Policy. Turn off your theme’s default product schema to prevent duplicate data issues.
- Live validation: Scroll to the built-in Schema Validation tool, paste any storefront URL (such as a product page), and click Validate URL to verify error-free rich snippets directly with Google’s Rich Results Test.

With these steps, your store is fully optimized with accurate structured data without touching a line of code. This ensures your products, brand, and policies are instantly eligible for rich search snippets and merchant listings.
Different Types of Schema Markups You Can Add to Shopify
There are various types of schema that you can add to Shopify for improved SEO and visibility. Each type of schema goes in a specific theme file in the Shopify structure.
Here’s an overview of the structured data types for Shopify and where to add them:
| Schema Type | Description | Shopify Liquid File |
| Product | Describes individual product details | main-product.liquid |
| Offer | Provides offer details like price and stock | main-product.liquid |
| Review | Displays product reviews | main-product.liquid |
| BreadcrumbList | Shows navigational breadcrumbs | theme.liquid |
| Organization | Information about the business/organization | theme.liquid |
| Article | Describes blog posts or articles | main-article.liquid |
| LocalBusiness | Describes a local business and its details | theme.liquid |
| WebSite | General information about the website | theme.liquid |
| SearchAction | Adds structured data for search functionality | theme.liquid |
Note: The liquid file name for each page type could vary from theme to theme.
How to Find Issues with Your Shopify Schema Markup?
Open the Google Search Console property for your Shopify store. In the left menu bar, click Product Snippets under Shopping.
Here, you can find valid and invalid items with product schema markup. Invalid and missing schema markups are a common Shopify SEO issue that many store owners neglect.
You can also find reasons why the items are invalid, along with extra suggestions to improve them.

Once you’ve fixed the issues, you can click on each issue in the Google Search Console and re-validate them to fix these errors.
Win Rich Snippets with Shopify Schema Markup
It is your time to make your store shine on search engines. While you can add schema markup manually, using the Meetanshi Schema & SEO AI app makes the entire process faster, automated, and completely code-free.
Install the app today to unlock rich snippets and improve your store’s organic visibility, or reach out to our team if you need any help with your Shopify SEO.