Skip to main content

order number trimming in email template

More
12 years 6 days ago #173583 by jacorr27
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.5

Hi Guys,

Making some changes to my Hikashop email template for confirmation email.

when calling the order id (which I have configured with 8 character length) it comes up by trimming the zero's from the front of the order number, using $data->order_id

e.g. Order number is 00000010 and is displaying as 10.

how can I fix this?

Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 5 days ago #173591 by Xavier
Hi,

Don't you have set the order number instead of the id ?

You should use the value of $data->order_number; ;)

The order id is an int, so it will always be trimmed.
The following user(s) said Thank You: jacorr27

Please Log in or Create an account to join the conversation.

Time to create page: 0.144 seconds
Powered by Kunena Forum