Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set totalOrders = 0 %}
- {% for order in craft.commerce.orders.customer(craft.commerce.customer).find() %}
- {% set totalOrders = totalOrders + order.totalPrice|currency(order.currency) %}
- {% endfor %}
- {{ totalOrders|currency(order.currency) }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement