Let’s Discuss Your Project

Tell us a bit more about what you are working on, and let’s connect.


Request a Quote
 

How to add Google Product Schema to Shopify Product Page?

It is easier than you think to add Google Product Schema on a Shopify product page, just follow below 3 steps: 

 1- Copy below code:

[code]
<script type=’application/ld+json’>
{
“@context”: “http://schema.org/”,
“@type”: “Product”,
“name”: “{{ product.title }}”,
“url”: “{{ shop.url }}{{ product.url }}”,
“image”: “{{ shop.url }}{{ product.featured_image }}”,
“description”: “{{ page_description }}”,
“offers”: {
“@type”: “Offer”,
“priceCurrency”: “{{ shop.currency }}”,
“price”: “{{ product.price | money_without_currency }}”,
“itemCondition”: “http://schema.org/NewCondition”,
“availability”: “http://schema.org/InStock”
}
}
</script>
[/code]

 

2- Go to online store -> themes -> Edit your theme 

3- Go to the snippets folder under your theme code and create a new snippet call it "product-schema"

Google Rich Snippet for Shopify

4- Paste the code you copied in step 1 into the new "product-schema.liquid"

5- Go to Product.liquid file, scroll to the very end of the page and past this code: {% include ‘product-schema’ %}

Share  

Do you want more traffic?

Hey, I'm Moe Farhat. I'm determined to make your business grow.

Join Me Here

Moe Farhat

He is an author, entrepreneur & founder of Webinopoly & multiple IT companies. Moe has been featured multiple times as one of top Shopify experts, Entrepreneur Magazine says he is a “Shopify Wizard” one of the 100 most brilliant Shopify Experts.

Learn More

Guides

Tools