I’m trying to develop a section in a theme using the {{- customer.total_spent | money | default: ‘0’ -}} variable to show the total spent amount of a customer. But I’m getting the wrong value. to be precise I’m getting 95.33 when I should be getting 11556.90
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can we get the total amount spend of a user in a checkout complete event | 13 | 62 | December 20, 2024 | |
Customer liquid object not working on new accounts | 6 | 29 | March 7, 2025 | |
Limit total spent by a customer in a particular duration using Cart and Checkout validation API | 3 | 22 | January 14, 2025 | |
Access currency rate from Liquid | 11 | 170 | February 23, 2025 | |
Are Money Filters Based From Shop or Cart Currency? | 1 | 29 | November 27, 2024 |