Developer forum

Forum » Development » Order email based on zip code

Order email based on zip code

Jonas Mersholm
Reply

Hi there.

How would we go about creating a shared order-flow, where the order email is sent to a dealer, based on the customers zip-code?

Is there any way to extend the order-flow in DW - making it possible to add-in our own logic?

 

Thanks in advance.

Jonas


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

Hi Jonas

There is a number of ways to extend the cartflow. There is i.e. a lot of notifications that can be used: http://developer.dynamicweb.com/documentation/for-developers/ecommerce/extensibility/notifications/cart-v2.aspx

Also check the other extensibility options available.

You probably need the CheckoutDoneOrderIsComplete notification: http://developer.dynamicweb.com/api8/#Dynamicweb~Dynamicweb.Notifications.eCommerce+Cart~CheckoutDoneOrderIsComplete.html

Create a subscriber for that notification and on the args object you have the order with a zip code property. Then create the mail and send it to the right email.

Votes for this answer: 1

 

You must be logged in to post in the forum