Change status of a Prestashop order using a php script

进行中 已发布的 7 年前 货到付款
进行中 货到付款

I need a php script that change status of a Prestashop order. It is, that use the function to change status (adding a new status really, coz when you change status manually, really is adding a new status for this order. And if you do it manually, then, a mail is sent to customer depends on what status you putted. Then, i need that email will be sent too, like when you change status manually.

I need to send the number of order and status code by url, for example: [url removed, login to view]

I found on google this script, but a person on a forum says that no works correctly (but i don't test it):

public function hookOrderConfirmation($params)

{

....

$objOrder = $params['objOrder'];

$history = new OrderHistory();

$history->id_order = (int)$objOrder->id;

$history->changeIdOrderState((int)(Configuration::get($this->name.'_status_id')), (int)($objOrder->id));

....

}

Only bid if you can do this php script by 20 usd.

Thank you!

PHP Prestashop

项目ID: #11918608

关于项目

10个方案 远程项目 活跃的7 年前

有10名威客正在参与此工作的竞标,均价€35/小时

yourbestcode

PAY WHEN YOU ARE SATISFIED WITH MY WORK. I have checked and I am strongly confident to do this project and get it done exactly your needs. Regards, Trong Nguyen

€30EUR 在1天里
(527条评论)
8.1
gopal1995

I am senior Prestashop & wordpress developer and having more than 8 years of experience.I have developed a wide range of websites using HMTL, DHTML, PHP, Prestashop, Wordpress.I am working only on prestashop around la 更多

€111 EUR 在2天内
(72条评论)
6.7
manutorres

hola que tal? eres de españa? podrias contarme un poco mas sobre lo que necesitas? me quede un poco confundido con la descripcion, no tengo muy claro lo que quieres hacer saludos

€20 EUR 在10天内
(122条评论)
6.5
nesarajanskillra

Hello, I am professional developer having 8+ years of work experience and expertise with PHP/MYSQL/CODEIGNITER/CSS/HTML/JQUERY/WORDPRESS/OPENCART/DRUPAL/JOOMLA/REST API, WEBSERVICES and etc Please let me know yo 更多

€29EUR 在1天里
(42条评论)
5.3
nileshbakotiya

Hi, Thanks for the opportunity. As per your requirement, i would like to tell you that I have a very strong experience of more than 7 years in this field of design and development. Please spare a moment to discuss t 更多

€19EUR 在1天里
(47条评论)
5.3
antyans

Hello. I explore your job. I am ready to do everything carefully and accurately. Experience in programming in my more than 7 years. Responsibly come to the job. Ready to work and want to work. I need this job. Thank yo 更多

€24 EUR 在10天内
(19条评论)
4.6
geniusmindsystem

hello we are expert in web design using css html js bootstrap and developing using php wordpress, woocommerce, and ecommerce. So lets Change status of a Prestashop order using a php script. We are perfect to work on i 更多

€23EUR 在1天里
(13条评论)
3.8