Re: What file/section do I paste my product schema inside the Shopify code editor?

What file/section do I paste my product schema inside the Shopify code editor?

marketingwiz
Tourist
10 0 0

There are a bunch of options inside the Shopify code editor dashboard:
Layouts, templates, sections, snippets, etc. Do I need to create a new file with a certain name and paste individual product snippets there?Code editor.png

Replies 6 (6)

DigiDecoded
Shopify Partner
158 19 18

Hy @marketingwiz ,

 

what exactly you want to achieve.

Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website
marketingwiz
Tourist
10 0 0

I wanna add product schema for every product page on my Shopify store. As I can see on the source code pages of my products, there's already some schema code in there. The question remains, what file in the code editor dashboard do I paste the schema code in?

DigiDecoded
Shopify Partner
158 19 18

if you check the product.liquid file you will find it

Danish | Full Stack Developer @ Esire.Inc
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Hire me for your next task! | Email | WhatsApp | Website
marketingwiz
Tourist
10 0 0

I don't have the file (product.liquid). Instead, I have main-product.liquid under "Sections". 

Dan-From-Ryviu
Shopify Partner
8437 1660 1675

Hi @marketingwiz 

I'm Dan from Ryviu: Product Reviews & QA app.

Could you send me your store URL to check? Because usually, every Shopify contains product schema code by default.

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.