Re: Dawn 2.0 html schema does not render in browser

Dawn 2.0 html schema does not render in browser

brokerobot
Tourist
10 0 7

In the Dawn 2.0 html schema does not render in browser.

 

In the main-product.liquid theme file: line 479 "script type="application/ld+json" has the settings for the schema.org product settings. When the page is rendered, the schema code is not being inserted in the html on the page for the product information.

 

Asking support is useless, they cannot answer the question and directed me to contact experts.shopify a paid service. Why should I have to pay to get an answer about something that is in their code that is not working?

Replies 5 (5)

made4Uo
Shopify Partner
3839 716 1177

Hi @brokerobot,

 

The schema is for SEO purposes. It is a script file and intended to be hidden

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
made4Uo
Shopify Partner
3839 716 1177

Hi @joeanderson1952,

 

I do not know how to route your question but I would suggest starting a new question in the Shopify community so people can answer to your question. 

Click the "Ask a Question"

made4Uo_0-1654815960400.png

 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
brokerobot
Tourist
10 0 7

I know what the schema is and how it should render additional attributes in the html. What I was trying to get across is that the additional mark up isnt being rendered into the browser based on the JS snippet.  i.e. it is missing: itemprop name, itemscope itemtype ....

 

made4Uo
Shopify Partner
3839 716 1177

I am sorry, I misunderstood. Is the value null? You tried calling it in the console and checking the values right?

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
brokerobot
Tourist
10 0 7

I am not sure how to check the values in the console. The schema info should be rendered by the browser when I view source or inspect it. In the screen shot of the code you can see that there is no schema attributes

 

Screen Shot 2022-06-10 at 12.54.58 PM.png