customers/order模板渲染客户订单页面,显示客户过去订单的详细信息。

位置
customers/order模板位于主题的templates > customers目录中:
└── theme
├── layout
├── templates
| └── customers
| ├── order.json
| ...
...
内容
您应在customers/order模板或模板中的一个分区包含 order 对象 。
提示
如果您使用的是 JSON 模板,那么任何 HTML 或 Liquid 代码都需要包含在模板引用的分区中。
订单对象
您可以访问订单对象来显示订单的详细信息。
发表回复