Jump to content

Trigger email sent when inserting shipping number through API


hakeryk2
 Share

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)

Share this post


Link to post
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.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More