FROM CACHE - en_header

Contact us templates

jakebatic
Shopify Partner
5 0 2

How do we create a json template (page.contact.json), that we can assign to a page? It seems as though only .liquid templates can be assigned to pages. Anyone have a fix? 

FYI this is my page.contact.json code:

{
"sections": {
"main": {
"type": "contact-template",
"settings": {}
}
},
"order": [
"main"
]
}

Reply 1 (1)
Savior
Shopify Partner
537 108 153

Hello @jakebatic 

 

Follow steps from given URL to create and use a JSON template.

NOTE : Make sure the section which you use in JSON 'type: contact-template' >> is available in your theme files

If helpful, please Like and Accept Solution.


Hire me or mail me  | Shopify Design Changes | Custom Modifications In to Shopify Theme | Site Speed Optimization
Use GemPages Page Builder to build, design, and optimize your store. View app