Jump to content

variable id_order in order confirmation email


ubergirl2

Recommended Posts

Hi. I have a problem with the confirmation emails sent.

 

 

I want to show the order number in the emails instead of the order reference.

 

I changed the template from:

 

Order: {order_name}

 

to

 

Order: {id_order}

 

To test, I create an order in the backoffice, and when I receive the confirmation emails, the payment email is ok

 

 

Order 2612 - Payment processed

Your payment for order with the reference 2612 was successfully processed.

 

 

 
but the order detail email is not ok:
 

Order details

Order: {id_order} Placed on 04/22/2015 11:08:05

 

 

Is there a variable that needs to be added somewhere, or can this be a cache issue? 

 

 
I have prestashop 1.6.09
 
thanks to anyone for help
Link to comment
Share on other sites

  • 2 years later...

If you want to change the order reference with order ID then you have to make changes in all related files. For getting order_id in your mails for this time you have to change in payment.html and order_conf.html files located in stores root folder /mail/en.

 

Find the order_name variable and replace it with order_id.

 

Note: Please do the suggested changes  in testing platform first after successful do it in your live store do not make any test or change in your live data.

Thank You.

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...