Jump to content

ORDER number confusion


Recommended Posts

Hi

Ok, I am a little bit confused about the order numbers.

In PDF invoice the order number is printed like: 000003
In the email, you have {id_order} which is only 3 (without the leading zeros) and the other {order_name} which is #000003


So I see three different formats for the same order!

Now, of course I would like the order id to be the same the all time as it can confuse customers, so, I was wondering which variable to use in the email to be the same as in pdf (that is 000003)

Thank you

Link to comment
Share on other sites

You need to find where the variable is assigned to the email template, then pad it with zeros at the beginning, which is a PHP function.

Google the function, find the assignment and you should be set...
Although I guess I am assuming you know some PHP.......

--Kevin

Link to comment
Share on other sites

×
×
  • Create New...