Change status of a Prestashop order using a php script

sedang Berlangsung Dipasang 7 tahun yang lalu Dibayar saat pengiriman
sedang Berlangsung Dibayar saat pengiriman

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 Proyek: #11918608

Tentang proyek

10 proposal Proyek online Aktif 7 tahun yang lalu

10 freelancer rata-rata menawar €35 untuk pekerjaan ini

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 dalam 1 hari
(527 Ulasan)
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 Lebih banyak

€111 EUR dalam 2 hari
(72 Ulasan)
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 dalam 10 hari
(122 Ulasan)
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 Lebih banyak

€29 EUR dalam 1 hari
(42 Ulasan)
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 Lebih banyak

€19 EUR dalam 1 hari
(47 Ulasan)
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 Lebih banyak

€24 EUR dalam 10 hari
(19 Ulasan)
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 Lebih banyak

€23 EUR dalam 1 hari
(13 Ulasan)
3.8