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 | 79 | December 20, 2024 | |
Customer liquid object not working on new accounts | 7 | 73 | May 9, 2025 | |
Inconsistent `total_price` Across Cart APIs When Logged In as a Customer | 1 | 20 | April 4, 2025 | |
Limit total spent by a customer in a particular duration using Cart and Checkout validation API | 3 | 33 | January 14, 2025 | |
Remove quantity display from checkout | 1 | 19 | April 15, 2025 |