In this manual, you will learn about JSON templates in Shopify 2.0 and how many JSON templates merchants can have.
About JSON templates
JSON Template vs Liquid Template
As mentioned above, Shopify Online Store 2.0 favors JSON templates. With JSON templates, merchants are allowed to add and move the theme section above or below PageFly content.
Beside that, you can also display or hide theme sections including Default Product/Collection Details with JSON templates. This function is not available with Liquid templates in Online Store 2.0 themes.
However, if you are on Online Store 1.0 themes, Liquid templates still perfectly display default Product/Collection Details.
In the latest version of PageFly, We add the tag JSON to each JSON page to help you distinguish JSON and Liquid templates
To sum up, if you don’t have the intention of adding theme sections below or above PageFly content, both JSON template and Liquid template are perfectly fine. However, if you want to use additional sections from the theme and move it around, you must use JSON templates with Online Store 2.0 themes
JSON page limitation
Along with all the benefits from JSON templates, Shopify only allows a maximum of 50 JSON templates per page type. Here is more information about JSON page limitation from Shopify.
JSON templates still work on Online Store 1.0 themes. However, you will have limitation on regular page and blog post page
In PageFly. When you reach the limitation of 50 JSON templates, we will have a notification for you.
However, there are some ways you can get more JSON page if you reach the limit:
- The easiest way to delete unnecessary JSON templates in PageFly. In most cases, 50 JSON templates are more than enough for your store.
- You can also delete the theme page by editing the code in themes. However, this way is for advanced users only. If you want to do this but not sure how, please drop us a message on live chat
From now on, here is the type of template that your will have when you publish new PageFly pages
If you’re on Shopify themes O.S 1.0, Home page, Product page, Collection page and Password page will be published Liquid templates. About Blog page and Regular page, if you have not exceeded the limit of 50 JSON templates per page type, your pages will be published as JSON templates. When you exceed the limitation, your pages will be published as Liquid template.
If you’re on Shopify themes OS 2.0, all page types will be publish as JSON templates as long as you have not reached the limitation of 50 JSON templates per page type. When you exceed the limitation, your pages will be published as Liquid templates.