Jump to content

Trigger email sent when inserting shipping number through API


hakeryk2

Recommended Posts

Hello community,

 

Struggling with API part 2.

 

After I finally changed shipping number through jquery ajax I figured out that everything works ok, except for one thing:
Prestashop isn't sending mail in_transit after API update in orders -> shipping number.

How can I trigger something to send this email with shipping number after API update?

Prestashop 1.6.1.4
 

Edited by hakeryk2 (see edit history)
Link to comment
Share on other sites

The normal way would be to use an order state, assign this the a email template which containts the information needed by the customer. After inserting the tracking number, put the order into this new state and the mail is sent.

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