Change prefix for invoice

Solved
Highlighted
Tourist
32 0 1

when I email an invoice it has Invoice {{ name }}

 

and it displays as Invoice D1 Invoice D2 etc

 

i want it to say Invoice #0001, with no D prefix 

 

how can i do this

0 Likes
Shopify Partner
395 27 59

This is an accepted solution.

Hi @CALtd ,


Please try this:

 

Invoice {{name | remove: "D" | remove: "#" | prepend: "#000"}}

 

Regards,

Sam

Custom Apps and Theme Support | Email us: hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | Hosted solutions | Lifetime support
1 Like