Orders processing

ppp2

No avatar

2006-11-11 10:16

Is it somehow possible to send email to customer when status of his/her order is being changed? I think it would be nice sending email that the order is started to be processed, including some information (payment) and later sending email it has been processed and the goods are on the way.
I've been looking into sources trying to implement it myself, but haven't understood much. B-)

Claps

Avatar: Claps

2006-11-13 09:42

ppp2 - well, you have to redefine function saveOrderStatus(..) in core/orders-admin.php, instructing the script that after dbSaveOrderStatus( $iOrder, $iStatus ); to retrieve data from saved order (function throwOrder() ), and after that to send email to customer.

Marik

No avatar

2006-11-30 13:26

got a tutorial of this?

ppp2

No avatar

2006-12-01 12:16

OK. Thank you a lot. I will try. :-)

michal.siman

No avatar

2006-12-02 21:29

How i can get customer email and name for order inside function saveOrderStatus()? I need this for send email to customer about change order status.

Thx

idaryl

Avatar: idaryl

2006-12-04 19:48

Hey ppp2 did you get a solution to this?

Jo

No avatar

2006-12-15 13:38

If you purchase this plugin (it is not expensive):

http://opensolution.org/sklep/?p=productsMore&iProduct=49

then open templates/admin/sendOrderStatusToClient.tpl, you can add order info like in the following example that I have used:

<!-- BEGIN TITLE -->Status of your order ID 10$aData[iOrder] was changed<!-- END TITLE -->

<!-- BEGIN CONTENT -->
Dear $aData[sFirstName],

The status of your order ID 10$aData[iOrder] was changed to "$sSelectedStatus"

Many thanks for your order!

<!-- END CONTENT -->

Back to top
about us | contact