--- url: >- https://developer.youcan.shop/themes/templates/template-types/customer-order.md --- # customer-order The `customer-order` template renders one order of the logged in customer. ## Location The `customer-order` template is located in the `templates` directory of the theme. ```bash └── theme ├── layout ├── templates │ ... │ ├── customer-order.json │ ... ... ``` ## Usage It renders at `/account/orders/{id}`, the [`customer_url`](/themes/objects/order) of the order. You get the [order object](/themes/objects/order). Without this template the page redirects to `/account/orders`. An order of another customer returns a 404. ```liquid

{{ order.name }}

{{ order.financial_status }} · {{ order.fulfillment_status }}

{% for variant in order.order_variants %} {% endfor %} {% if order.shipping_address %}

{{ order.shipping_address.address1 }}, {{ order.shipping_address.city }}

{% endif %} {{ order.total | money }} ```