Jump to content

Add Product Details and Shipping address in Preparation and in_transit Email


nischaljain

Recommended Posts

Hi Guys,

 

Is anyone know how to add  Product Details and Shipping address in Preparation,  in_transit and Delivery Email. I tired to place  {products} and {delivery_block_html} in both the email template but it didn't work. 

 

Please help me i checked AdminOrderController.php file as well but didn't find code there to add these variables.

 

Thanks in advance

 

 

Link to comment
Share on other sites

The email was sent in following file

/classes/order/OrderHistory.php

 

But the email parameters data should be pass when change the order status. it could be either one of following files

 

During the process of payment

/classes/PaymentModule.php (inside validateOrder()).

 

When admin changed the order status that triggers send the email.

/controllers/admin/AdminOrderController.php

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