All things Shopify and commerce
there is no create template in my website how to fix this please
Hello,
You are owner of the store? If not, maybe you don't have permission to add template.
You may be using an older theme that doesn't take advantage of the Shopify 2.0 updates. Specifically json page templates.
.json template files will have a different icon next to the name.
If you are comfortable editing the codebase you can make the updates yourself. Otherwise I recommend getting help from a professional.
Alternatively you could install a newer theme (e.g.: Dawn) which uses JSON templates by default and start again.
In the code editor, create a new page template (in the 'templates' folder) and call it "page.json" or something similar.
Add the following code:
{
"sections": {
"main": {
"type": "main-page"
}
},
"order": [
"main"
]
}
The "type": "main-page" references a .liquid file in your "sections" folder.
If there is no main-page.liquid file you will need to create it, or change this reference to another exisiting file/section.
If there are any issues with the above, the editor should indicate what the problem is.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024