diff --git a/admin/model/retailcrm/order.php b/admin/model/retailcrm/order.php index d347ac4..126ff46 100644 --- a/admin/model/retailcrm/order.php +++ b/admin/model/retailcrm/order.php @@ -124,6 +124,10 @@ class ModelRetailcrmOrder extends Model { ); } + if (isset($order_data['order_status_id']) && $order_data['order_status_id'] > 0) { + $order['status'] = $this->settings['retailcrm_status'][$order_data['order_status_id']]; + } + return $order; }