fix delivery price

This commit is contained in:
Alex Lushpai 2016-03-14 22:26:42 +03:00
parent 8835251d80
commit fb2494685f

View File

@ -33,6 +33,11 @@ class ControllerModuleRetailcrm extends Controller
$data['order_status'] = $status['retailcrm_status'][$data['order_status_id']]; $data['order_status'] = $status['retailcrm_status'][$data['order_status_id']];
} }
$data['totals'][] = array(
'code' => 'shipping',
'value' => $this->session->data['shipping_method']['cost']
);
$this->load->model('retailcrm/order'); $this->load->model('retailcrm/order');
$this->model_retailcrm_order->sendToCrm($data, $data['order_id']); $this->model_retailcrm_order->sendToCrm($data, $data['order_id']);
} }