Change status of a Prestashop order using a php script

En curso Publicado hace 7 años Pagado a la entrega
En curso Pagado a la entrega

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

Nº del proyecto: #11918608

Sobre el proyecto

10 propuestas Proyecto remoto Activo hace 7 años

10 freelancers están ofertando un promedio de €35 por este trabajo

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

€30 EUR en 1 día
(527 comentarios)
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 Más

€111 EUR en 2 días
(72 comentarios)
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 en 10 días
(122 comentarios)
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 Más

€29 EUR en 1 día
(42 comentarios)
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 Más

€19 EUR en 1 día
(47 comentarios)
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 Más

€24 EUR en 10 días
(19 comentarios)
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 Más

€23 EUR en 1 día
(13 comentarios)
3.8