Add customer.orders_count on packing slip

I’m trying to add the Customer Orders Count to my packing slip but it isn’t working. This is the code I used:

{{ customer.name }}

{{ customer.orders_count }} order(s)

Any suggestions?

3 Likes

Try to Add into this.

{% for order in customer.orders %}}

{{ customer.name }}

{{ customer.orders_count }} order(s)

{% endfor %}

Thank you.

Thank you, but that is not working either. :disappointed_face:

Also trying to achieve this - would love someone to provide a solution that works.

It doesn’t work for me either… any alternative solution?