Suljettu

Change status of a Prestashop order using a php script

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: [login to view URL]

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!

Taidot: PHP, Prestashop

Näytä lisää: I would like to hire a Software Tester - 23/09/2016 17:57 EDT, desarrollar software, desarrollar software para hotel, desarrollar software gestion contable ventas facturacion, desarrollar software control clientes, desarrollar software control clientes project, desarrollar software 2, cronograma actividades para desarrollar software, desarrollar software php, php script show network status, edt school software, edt computer software, php script using pear module net_dns, php script check order status using form, php script using database joomla, multilanguage php script using database, php script picture order form, php script check webcam status, php script msn online status, php script counter strike status

Tietoa työnantajasta:
( 24 arvostelua ) El Vendrell, Spain

Projektin tunnus: #11918404

11 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

toinnisfree

I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactor Lisää

€54 EUR 1 päivässä
(763 arvostelua)
8.3
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

€50 EUR 1 päivässä
(532 arvostelua)
8.1
VnBestSolutions

Dear Sir. We claim to get it done perfectly for you EXACTLY in the way you want it - Kindly give we a chance and we will prove myself - Ready to prove our words, let's get it done right away and I mean RIGHT AWAY !! Lo Lisää

€65 EUR 1 päivässä
(166 arvostelua)
6.7
a4logic

Dear Sir/Madam, Thank you for this wonderful opportunity. I am keenly considering your job post including these skills.I am working as team leader in A4Logic it is software and web solution company we are operati Lisää

€66 EUR 1 päivässä
(74 arvostelua)
6.4
techwelfare

yes, let's clarify the requirement in details also if you want us to share our skill and previous work let us know.. hope to hear you soon.. Thanks & Regards RIMSHA

€211 EUR 10 päivässä
(151 arvostelua)
7.0
DSAssociates

Hello There, Very excited and glad to see that you are from Spain, as i visit frequently to catch up with my clients.. My name is DS, New Zealand based freelance designer/developer here. With more than 12 years of ex Lisää

€30 EUR 2 päivässä
(28 arvostelua)
6.3
aburdier

I would like to be the person who change the status of prestashop order php code. Im a Web and Digital Designer Specialist with a phd. in Communication and a Masters Degree in Advertising plus technicals studies in Gra Lisää

€60 EUR 2 päivässä
(19 arvostelua)
5.1
€23 EUR 1 päivässä
(48 arvostelua)
5.1
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 Lisää

€19 EUR 1 päivässä
(48 arvostelua)
5.3
ankur1024

Hi Can i talk to you..? You need to send the number of order and status ..? [login to view URL] This is my live Prestashop/PHP project profile Lisää

€40 EUR 0 päivässä
(40 arvostelua)
4.9
arumawebtech2016

Hello! How are you? I hope you are doing well and definitely you are receiving so many proposal but I hope that my proposal will catches your attention :) I've best skills in wordpress and I'm specialized WordPre Lisää

€23 EUR 1 päivässä
(0 arvostelua)
0.0