Jump to content

Order Number in Order Confirmation Email


Recommended Posts

Hi

 

As the title suggests, I would like to add the order number to the order confirmation email. The order number is appearing on the "Awaiting bank transfer payment" email which is from the bankwire module.

 

Any help would be greatly received.

 

Thanks

 

 

Link to comment
Share on other sites

  • 2 months later...

I figured out how to do this myself, it took a while as new to Prestashop. Thought I'd share my solution incase anybody else is having the same trouble. What I did is:
 
Copy PaymentModule.php from /classes/ into /override/classes/

After line 593

'{order_name}' => $order->getUniqReference(),

Add

'{order_id}' => $order->id,

Save this and upload to remote server

 

Now in order_conf.html you can use {order_id} wherever you wish to put the Order ID.

 

You will need to delete class_index.php in the /cache/ folder so that the override is taken into account.

Link to comment
Share on other sites

×
×
  • Create New...