Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用php在validate Order中更改Prestashop订单状态_Php_Prestashop 1.6 - Fatal编程技术网

如何使用php在validate Order中更改Prestashop订单状态

如何使用php在validate Order中更改Prestashop订单状态,php,prestashop-1.6,Php,Prestashop 1.6,如何在验证顺序中使用php更改Prestashop订单状态 我是 $history = new OrderHistory(); $history->id_order = (int)$order->id; $history->changeIdOrderState(27, (int)($order->id));

如何在验证顺序中使用php更改Prestashop订单状态 我是

$history = new OrderHistory();
$history->id_order = (int)$order->id;
$history->changeIdOrderState(27, (int)($order->id));