A space to discuss online store customization, theme development, and Liquid templating.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
We have started using OS2.0 features of sections on all pages it is working great.
But when we tried to add sections in the customer's template like customers/account, customers/login, customers/register
.json is not working in that templates.
Did I miss something in the document or steps?
Any help would be great 🙂
Great question! The JSON templates do support customer page types, so you expect to see themes using this template method on future versions of Shopify themes. https://community.shopify.com/c/online-store-2-0/why-templates-which-under-customers-of-dawn-doesn-t...
And yes according to the docs
Although JSON templates differ from Liquid templates in their contents, they are still template files that support the following Shopify theme features:
- All template types, except for gift_card and robots.txt.
- Alternate templates.
https://shopify.dev/themes/architecture/templates/json-templates
@Milind wrote:when we tried to add sections in the customer's template like customers/account, customers/login, customers/register
.json is not working in that templates.
Did I miss something in the document or steps?
What theme is this?
Are you making an actual JSON template and have deleted the original .liquid version?
Are you following the migration guide?
Or are you trying to add sections to a standard .liquid template?
What code is causing trouble?
etc etc
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Let try again with a refreshed mind and given solutions.
I will get back to you on this.