Schema is a standard for marking up objects on your website so search engines better understand what it is. Google use this data to highligt search results with so-called Rich Snippets. With Rich Snippets your links in Google will stand out and generate more clicks.

One of the most important sets of Schema data for a webshop is product data. With the correct Schema-data for products your can get Rich Snippet listings in Google that can look like this.

Shopify Product Schema Example Walmart

As you can see there are quite a lot of additional information in this listing compared to one of the normal “raw” links in Google. There are some details about the product, ratings, review, the price and an “in stock” status.

Besides the fact that a bigger – more enhanced listing, will make your link stand out more in Google these additional informations also makes it far more likely that prospects click your link.

All this extra information – the Rich Snippet, is the result of correct implemented Schema-data.

So, how do you make sure that your Shopify shop have all this Schema-data, so you too can get Rich Snippet listings? Let’s take a closer look at that.

Adding Product Schema to Shopify

Basic product Schema-data is included in most Shopify themes as standard. But if you want more control over it there are basically two ways you can do it:

  • Use an App to handle it for you
  • Code it manually

The first solution is the most simple but do also cost something. Very often, however you will find product Schema as an integrated part of the SEO app you subscribe to.

Coding the Schema-data manually may sound challenging, if you are not used to coding in Shopify but it don’t actually have to be so difficult.

Manually adding Schema-data to each of your Shopify products

There are several ways to do this. One of them is this …

  • Access Your Shopify Admin:
    Log in to your Shopify admin dashboard.
  • Select the Product You Want to Edit:
    Choose the specific product to which you want to add Schema data by navigating to “Products” in your Shopify dashboard.
  • Edit the Product:
    Click on the product you wish to edit to access its details.
  • Add Custom Fields for Schema Data:
    Shopify doesn’t have a built-in feature for directly adding Schema markup. However, you can create custom fields using Shopify’s metafields to add Schema data manually.
  • Using Metafields for Schema Markup:
    Go to the product’s “Metafields” section. Metafields are additional pieces of data that you can attach to various objects in Shopify, including products.
  • Create Schema Markup:
    Within the Metafields section, you can create a new metafield for the product. Define the namespace, key, value, and data type according to the Schema markup you want to add.
  • Enter Schema Data:
    Enter the relevant Schema data for the product. This might include information such as product name, description, SKU, price, availability, and more, adhering to the Schema.org guidelines.
  • Save Changes:
    Once you’ve entered the Schema data in the metafields, ensure you save the changes.
  • Check Schema Implementation:
    After saving the data, verify the implementation of Schema markup on the product page using Google’s Structured Data Testing Tool or similar tools to ensure the correct Schema data is being picked up.

It’s important to note that manually adding Schema markup in Shopify may require some technical understanding of Schema.org guidelines and metafields in Shopify.

Also, ensure that the added data adheres to the correct Schema format to be properly recognized by search engines.

If you’re uncomfortable or unfamiliar with this process, consider seeking assistance from a developer or using Shopify apps that offer Schema markup functionalities.

Edit your product template file to add Schema-data

Another manual solution to add Schema data to Shopify products involves using the “JSON-LD” method directly within the HTML of your Shopify store. Here’s a step-by-step guide:

  • Access Shopify Admin:
    Log in to your Shopify admin dashboard.
  • Choose a Product to Edit:
    Navigate to “Products” and select the specific product you want to add Schema data to.
  • Edit HTML/CSS:
    From the Shopify admin, go to “Online Store” and select “Themes.” Choose “Actions” and then click on “Edit Code.”
  • Locate Product Template:
    In the theme editor, locate and select the product template file where you want to add the Schema markup. Typically, this file is named “product.liquid.”
  • Add JSON-LD Script:
    Within the HTML structure of the product template, you can manually add a JSON-LD script for structured data. This script follows the Schema.org guidelines and should include information relevant to the product, such as name, description, SKU, price, availability, etc.
  • Save Changes:
    After adding the JSON-LD script with the necessary Schema markup, save the changes made to the product template file.
  • Validate Markup:
    Use Google’s Structured Data Testing Tool or Rich Results Test to validate the implemented Schema markup. Enter the URL of the product page to ensure the structured data is correctly implemented and recognized by search engines.

This method involves directly modifying the theme code, specifically the product template, to insert JSON-LD structured data. It requires familiarity with HTML, JSON-LD syntax, and Schema.org guidelines.

Always make a backup of your theme files before making any changes, and double-check the implementation to ensure accuracy and compliance with Schema standards. If unsure, consider consulting with a web developer or using Shopify apps specializing in structured data to simplify the process.

Leave a Reply

Your email address will not be published. Required fields are marked *