Skip to main content

customers/order

The customers/order template renders the customer order page, which displays the details of a customer’s past orders.

Tip

Refer to the customers/order template and its main section in Dawn for an example implementation.

An example of the customer order template in Dawn

The customers/order template is located in the templates > customers directory of the theme:

└── theme
├── layout
├── templates
| └── customers
| ├── order.json
| ...
...

You should include the order object in your customers/account template or a section inside of the template.

Tip

If you're using a JSON template, then any HTML or Liquid code needs to be included in a section that's referenced by the template.

You can access the order object to display the details of the order.


Was this page helpful?