I need some html help for my packing slips. I'd like to have some sort of mark on my parking slips that would indicate EITHER a new customer or a repeat customer. Doesn't have to be both. For example, my Etsy packing slips have a star next to the name of a repeat customer. But the mark can be anywhere on the page. I would imagine it would be something like "if customer order count is >1" they would get flagged as a repeat customer. I just don't know how to code that.
Thanks for any help.
Solved! Go to the solution
This is an accepted solution.
You need to edit your product page liquid, get customers_orders count, you can find more information here:
Then you can add a value as product property, like flagged: true
You can find more information about product properties here:
If you need further assistance feel free to send us an email.
Hi there @brokenalice , I am trying to do this exact thing - indicate somehow on the packing slip that this is an order placed by a new customer or that this is a repeat customer.
I followed the links but I'm still unable to make customer.orders_count appear on the packing slip. How did you make it happen? Can you post your code?