{"id":3657,"date":"2024-10-01T07:30:00","date_gmt":"2024-10-01T07:30:00","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/shopify-schema-markup\/"},"modified":"2026-09-02T13:01:07","modified_gmt":"2026-09-02T07:31:07","slug":"shopify-schema-markup","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/shopify-schema-markup\/","title":{"rendered":"Shopify Schema Markup: How to Implement Structured Data?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Search engines use schema markup to understand the pages. It\u2019s used to display products in rich snippets and organic search results. Therefore, Shopify schema markup can help you improve organic visibility in search engines.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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\u2019ll show you how to set up schema markup using both the app method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Shopify Themes Handle Structured Data?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In Shopify, the themes are written in liquid, which is a templating language. It generates the client-side HTML code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Shopify theme files use the structured_data filter to generate structured data markup code in JSON-LD format. It\u2019s present in the liquid files for products, collections, articles, pages, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, here\u2019s how it looks like in the product page liquid file (main-product.liquid):<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;script type=\"application\/ld+json\">\n      {{ product | structured_data }}\n    &lt;\/script><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In the above code, the structured_data filter dynamically generates and adds JSON-LD structured data for the product.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Add-Code-to-Theme-Template-Files-1.png\" alt=\"Add Code to Theme Template Files\" class=\"wp-image-63170\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use a Shopify app or manually modify the theme liquid files to fix structured data markups. In the following sections, you\u2019ll learn the app method.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Add Schema Markup using a Shopify App<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Setting up structured data manually can be complex and risky for your theme code. The easiest way is to install the <a href=\"https:\/\/apps.shopify.com\/mit-schema-markup\" target=\"_blank\" rel=\"noopener\">Meetanshi Schema &amp; SEO AI<\/a> app from the Shopify App Store and configure complete JSON-LD markup in four simple steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Set Up Identity and Brand Details<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Start on the <strong>Setup Guide dashboard &gt; Shop Details<\/strong> and complete the checklist.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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&#8217;s Knowledge Panel.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Brand identity:<\/strong> Enter your customer-facing brand name, official registered legal name, and primary canonical store website URL.<\/li>\n\n\n\n<li><strong>Visuals and messaging:<\/strong> Provide a direct link to your store logo URL, and write a brief description of your brand along with your official tagline.<\/li>\n\n\n\n<li><strong>Physical presence:<\/strong> Add your physical street address, country, state or province, city, postal code or ZIP, and your store price range tier.<\/li>\n\n\n\n<li><strong>Business verification:<\/strong> 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.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"625\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-1024x625.png\" alt=\"set Up Identity and Brand Details\" class=\"wp-image-26834\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-1024x625.png 1024w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-300x183.png 300w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-768x469.png 768w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image.png 1065w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Add Social Profiles and Support Contacts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Still inside the Shop Details page, scroll down to the <strong>Social Media Profiles &amp; Support Contacts<\/strong> section.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Social profiles:<\/strong> Go to <strong>Social Media Links<\/strong>, <strong>click + Add more<\/strong>, select your desired platform from the dropdown menu, and paste your profile URL for each active brand account.<\/li>\n\n\n\n<li><strong>Dedicated phone support:<\/strong> Provide contact numbers for Customer Service, Sales, and Technical Support.<\/li>\n\n\n\n<li><strong>Customer care channels:<\/strong> 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.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"685\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-2.png\" alt=\"Add Social Profiles and Support Contacts\n\" class=\"wp-image-26836\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-2.png 1021w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-300x201.png 300w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-2-768x515.png 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Set Up Global Shipping and Return Policies<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">From the left panel, click <strong>Global<\/strong> to set up storewide logistics for rich delivery and return badges.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Shipping details:<\/strong> Under <strong>Shipping<\/strong>, select your <strong>target region<\/strong>, currency, and baseline shipping rates (enter <strong>0<\/strong> for free shipping).<\/li>\n\n\n\n<li><strong>Delivery timeline:<\/strong> Set your <strong>handling and transit times<\/strong>, check <strong>Use Business Days<\/strong>, and set an optional order cut-off time.<\/li>\n\n\n\n<li><strong>Return rules:<\/strong> In <strong>Returns<\/strong>, select your <strong>target countries<\/strong>, set the <strong>return window<\/strong> (e.g., 30 days), and pick accepted return methods.<\/li>\n\n\n\n<li><strong>Return logistics:<\/strong> Specify who covers <strong>return shipping costs<\/strong> and paste your direct <strong>return policy URL<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1019\" height=\"450\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-1.png\" alt=\"Set Up Global Shipping and Return Policies\n\" class=\"wp-image-26835\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-1.png 1019w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-300x132.png 300w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-1-768x339.png 768w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Activate Storefront Schemas and Validate Your Code<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">From the left-side panel, open <strong>Schema Configuration<\/strong> to deploy structured data across your live store and verify it without errors.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Master activation:<\/strong> Switch the master toggle <strong>Show schema markup on storefront<\/strong> to <strong>On<\/strong> at the top of the dashboard.<\/li>\n\n\n\n<li><strong>Page-level schemas:<\/strong> Use the top horizontal tabs to enable <strong>Organization<\/strong> and <strong>Website<\/strong> for the Homepage, <strong>ItemList<\/strong> for Collections, and <strong>Article<\/strong> for Blog Posts. Use the <strong>Search Preview<\/strong> panel on the left to review your live appearance.<\/li>\n\n\n\n<li><strong>Product &amp; policy toggles:<\/strong> Open the <strong>Product<\/strong> tab to turn on <strong>Product<\/strong> schema and <strong>Merchant Policy<\/strong>. Turn off your theme&#8217;s default product schema to prevent duplicate data issues.<\/li>\n\n\n\n<li><strong>Live validation:<\/strong> Scroll to the built-in <strong>Schema Validation<\/strong> tool, paste any storefront URL (such as a product page), and click <strong>Validate URL<\/strong> to verify error-free rich snippets directly with Google&#8217;s Rich Results Test.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"469\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-1024x469.png\" alt=\"Activate Storefront Schemas and Validate Your Code\" class=\"wp-image-26837\" srcset=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-1024x469.png 1024w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-300x137.png 300w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-3-768x352.png 768w, https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/10\/image-3.png 1037w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Different Types of Schema Markups You Can Add to Shopify<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">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.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s an overview of the structured data types for Shopify and where to add them:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>Schema Type<\/td><td>Description<\/td><td>Shopify Liquid File<\/td><\/tr><tr><td>Product<\/td><td>Describes individual product details<\/td><td>main-product.liquid<\/td><\/tr><tr><td>Offer<\/td><td>Provides offer details like price and stock<\/td><td>main-product.liquid<\/td><\/tr><tr><td>Review<\/td><td>Displays product reviews<\/td><td>main-product.liquid<\/td><\/tr><tr><td>BreadcrumbList<\/td><td>Shows navigational breadcrumbs<\/td><td>theme.liquid<\/td><\/tr><tr><td>Organization<\/td><td>Information about the business\/organization<\/td><td>theme.liquid<\/td><\/tr><tr><td>Article<\/td><td>Describes blog posts or articles<\/td><td>main-article.liquid<\/td><\/tr><tr><td>LocalBusiness<\/td><td>Describes a local business and its details<\/td><td>theme.liquid<\/td><\/tr><tr><td>WebSite<\/td><td>General information about the website<\/td><td>theme.liquid<\/td><\/tr><tr><td>SearchAction<\/td><td>Adds structured data for search functionality<\/td><td>theme.liquid<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note: <\/strong>The liquid file name for each page type could vary from theme to theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Find Issues with Your Shopify Schema Markup?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open the Google Search Console property for your Shopify store. In the left menu bar, click <strong>Product Snippets <\/strong>under <strong>Shopping<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here, you can find valid and invalid items with product schema markup. Invalid and missing schema markups are a <a href=\"https:\/\/meetanshi.com\/blog\/shopify-seo-issues\/\">common Shopify SEO issue<\/a> that many store owners neglect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also find reasons why the items are invalid, along with extra suggestions to improve them.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2024\/09\/Find-Issues-with-your-Schema-Markup-using-Google-Search-Console.png\" alt=\"Find Issues with your Schema Markup Using Google Search Console\" class=\"wp-image-63167\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019ve fixed the issues, you can click on each issue in the Google Search Console and re-validate them to fix these errors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Win Rich Snippets with Shopify Schema Markup<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">It is your time to make your store shine on search engines. While you can add schema markup manually, using the <a href=\"https:\/\/apps.shopify.com\/mit-schema-markup\" target=\"_blank\" rel=\"noopener\"><strong>Meetanshi Schema &amp; SEO AI<\/strong><\/a> app makes the entire process faster, automated, and completely code-free.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install the app today to unlock rich snippets and improve your store\u2019s organic visibility, or reach out to our team if you need any help with your Shopify SEO.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Search engines use schema markup to understand the pages. It\u2019s used to display products in rich snippets and organic search results. Therefore, Shopify schema markup&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[787],"tags":[],"class_list":["post-3657","post","type-post","status-publish","format-standard","hentry","category-shopify"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/3657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=3657"}],"version-history":[{"count":3,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/3657\/revisions"}],"predecessor-version":[{"id":26838,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/3657\/revisions\/26838"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=3657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=3657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=3657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}