curtdonohue Posted May 3, 2011 Share Posted May 3, 2011 Is it possible for PrestaShop, or a separate shipping module, to change the status of an order to "Delivered" when there is a delivery confirmation from the shipper? Or, does this setting have to be manually selected? Link to comment Share on other sites More sharing options...
GKM490 Posted July 29, 2016 Share Posted July 29, 2016 I realize this topic is 5 years old, but this is the exact question I'm wondering myself, and rather than create a new topic, I figured I'd just revive this one. Is it possible to automatically set the status to Delivered? (If I need to create a new topic, that's fine, but I wasn't sure either way) Link to comment Share on other sites More sharing options...
ietax Posted October 2, 2017 Share Posted October 2, 2017 hi, have you found solution? thanks Link to comment Share on other sites More sharing options...
Scully Posted October 2, 2017 Share Posted October 2, 2017 It can't be updated in and automated way with default functionality. You neede to write an own module, search for an existing module or create some sort of cron job which does the job. Link to comment Share on other sites More sharing options...
ietax Posted October 2, 2017 Share Posted October 2, 2017 Hi, I solved with this 3 PHP lines. require_once('../config/config.inc.php'); $order = new Order($idord); $order->setCurrentState(3); Link to comment Share on other sites More sharing options...
Scully Posted October 2, 2017 Share Posted October 2, 2017 Maybe one more clarification is needed here. Including the config.inc.php from the correct path is the only thing you need to to in order to executed prestashop functions. Trying to directly inculde class files is not only unnecessary but results in errors. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now