| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Send Order shipped Email via script | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am automating the way we update the order status and add the tracking info for an order.
I have written a script to grab the order number and tracking info from the json file and change the order status to shipped. However, when I update an order via the script, the email does not get sent. Also, the number of orders awaiting processing does not change (Please look image attached) How can we ensure: - The order shipped email gets sent out when the status changes to shipped and tracking info is added via the script - The number of orders awaiting processing gets updated. Thanks in advance.
__________________
Version 5.3.6.6 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If your script is simply making the change directly in database nothing will trigger emails or any other changes. You need to use the cart built-in functionality to do this. I'd start from admin order modify page and look at the controller class what is running as actions for adding tracking number and changing fulfillment status.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|