mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-03 19:53:19 +03:00
fix default order status
This commit is contained in:
parent
647f7b3faf
commit
b61379cabc
@ -383,7 +383,7 @@ class RetailCRM extends Module
|
|||||||
if (array_key_exists($statusCode, $status) && !empty($status[$statusCode])) {
|
if (array_key_exists($statusCode, $status) && !empty($status[$statusCode])) {
|
||||||
$order['status'] = $status[$statusCode];
|
$order['status'] = $status[$statusCode];
|
||||||
} else {
|
} else {
|
||||||
$order['status'] = array('new');
|
$order['status'] = 'new';
|
||||||
}
|
}
|
||||||
|
|
||||||
$customerCheck = $this->api->customersGet($customer['externalId']);
|
$customerCheck = $this->api->customersGet($customer['externalId']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user