How to insert JSON Snippet into Product Page Template

Bronziekee
New Member
9 0 0

Hi, 

 

I am hoping to put a table in a meta field for my product page. 

 

I have learned how to create the table using this website: https://webforward.github.io/shopify-tables/ and am able to export the JSON code to the meta field value on my product page. 

 

I then created this snippit in the code section of my theme (i have changed the names to match the metafield name)

Bronziekee_0-1663239631827.png

 

Now it is telling me to insert the following into my collapsible tab on my product page: {% render 'specification-table' %}

 

I have tried to do this as follows but it is not allowing me to save it. 

Bronziekee_1-1663239719371.png

 

 

What I have done wrong with the code? 

 

 

Reply 1 (1)

Bronziekee
New Member
9 0 0

thanks for your reply. I double checked this and I still couldn't find the solution? As my snippet is in Liquid and not JSON will i need to change this? 

 

Sorry not to familiar with this language and am still a little confused.