Jump to content

Adding Order ID to mail subject


Recommended Posts

Hello,

 

could somebody please tell how to add the order-id to the mail subject being send to the customer after making an order?

 

I've tried adding

.sprintf("%06d", $order->id)

(just like it is done in mailalerts.php)

in classes/Mail.php but it just adds 000000 (zeros) instead of the actual number.

 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...