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 | 48 | December 20, 2024 | |
Limit total spent by a customer in a particular duration using Cart and Checkout validation API | 3 | 19 | January 14, 2025 | |
Access currency rate from Liquid | 6 | 80 | October 28, 2024 | |
Product discount function's cost.totalAmount input doesn't account for discounts? | 3 | 132 | October 25, 2024 | |
TotalPriceSet.ShopMoney returned from API does not match Total Paid in Shopify Admin | 4 | 56 | November 5, 2024 |