Change prefix for invoice

Solved
Highlighted
Tourist
29 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
Highlighted
Shopify Partner
347 25 50

This is an accepted solution.

Hi @CALtd ,


Please try this:

 

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

 

Regards,

Sam

Custom Apps and Themes Support | Email us: hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | New Monthly Support by Achieve Applabs www.achieveapplabs.com
1 Like