Hi there.
I've recently installed Flits, an app that lets you customize the personal account area of registred customers on your store.
I would like to create a page where I show how much the customers has spent in total.
As for those who spend over 500 we give them lifetime discount and ship a VIP card by post, I would like that each customer can check how much is left to reach the target of 500.
I found the code customer.totalSpent but I know it doesn't take into consideration the refunds.. so I have a few questions:
1) What is the code to copy and paste in a liquid section to show how much a client has spent net of refunds ?
2) What is the code to copy and paste in a liquid section to show how much is left to a client to reach 500 ? Is something like 500 - customer.totalSpent ?
Let me know, thank you
User | Count |
---|---|
546 | |
209 | |
125 | |
80 | |
41 |