BACK

shopify how to put javascript in snippets

Installing Rich Snippets on Shopify hey welcome to our Rich Snippets session,so what are snippets wh

Yotpo Academy Videos

Updated on Mar 04,2023

Installing Rich Snippets on Shopify

The above is a brief introduction to shopify how to put javascript in snippets

Let's move on to the first section of shopify how to put javascript in snippets

Let TThunt's experts help you find the best TikTok product on your Shopify business!

Find TikTok products (It's Free)
No difficulty
No complicated process
Find winning products
3.5K Ratings

WHY YOU SHOULD CHOOSE TTHUNT

TThunt has the world's largest selection of TikTok products to choose from, and each product has a large number of advertising materials, so you can choose advertising materials for TikTok ads or Facebook ads without any hassle.

shopify how to put javascript in snippets catalogs

Installing Rich Snippets on Shopify

hey welcome to our Rich Snippets session,so what are snippets whenever we perform,Google search for example we'll search,for in item 6 we get search results in,the form of snippets so this is a,regular snippet that has text the,relevant URL and the product name if we,scroll down a little bit we'll see a,rich snippet which also has the product,availability price number of reviews and,the reading for the product now with,your PO you can add the number of,reviews and the rating to your Rich,Snippets organic search results there,are two ways to do that you can either,add the Rich Snippets automatically or,you can add them manually to add the,rates tip it's automatically all you,need to do is implement the reviews,widget on your product page so if I go,to a product page and it has a reviews,widget then it means you already have,Rich Snippets automatically added to the,JavaScript of this product page we can,see that by going to Google's structured,data testing tool,we'll click here we'll take the product,page URL and run the test and here we,can see a product tab when we click on,it we see two more product tabs now in,almost all of Shopify's themes there is,and already implemented a Rich Snippets,template so if we click on it so here we,can see the currency availability and,price already pre-existing in your,Shopify theme now the second tab is the,addition of your pool elements that was,added by the reviews widget so here we,can see the rating value and the reviews,count if we click on any of these items,the page will scroll down and we will,see the writing inserted by Yoko and,that way we can know that this,information was added by the reviews,widget and by Ethel to manually add the,Rich Snippets what we have to do is go,to our Yoko admin click on social and,Google Rich Snippets if by any chance,you do not see this menu in your Yoko,admin please reach out to our support,team so they will enable it for you once,the page has loaded we simply activate,Google Rich Snippets we scroll down on,this very article you are currently on,we go to the manually installing Rich,Snippets code and we copy the code now,we go to our Shopify admin online store,and under the live theme we click on,edit code,we need to add this code to our product,page so there are two product files,where the relevant pre-made Rich,Snippets template can appear either in,the product liquid or in the product,template here for example I'm looking at,the product template and I see this,schema.org slash product as soon as I,find this it means I found the Rich,Snippets code so what I need to do is to,add the code I just copied onto this,product scope so if we click on the div,this is the element of the product scope,this is where it begins and once I click,on it I can also see where it ends so,what we need to do is just to take a,line above where the element ends and,paste our code here of course don't,forget to save and that's it you have,manually added Rich Snippets,to your product pages on Shopify now,it's important to avoid duplicate,markups so if you manually added the,code please reach out to our support,team so they can disable the,automatically added rich snippet code,and we can avoid these duplicate markups,that's it thank you very much for,watching,you

Congratulation! You bave finally finished reading shopify how to put javascript in snippets and believe you bave enougb understending shopify how to put javascript in snippets

Come on and read the rest of the article!

Browse More Content