Merge pull request #6 from gwinn/master

fix delivery price
This commit is contained in:
Alex Lushpai 2016-03-14 22:27:18 +03:00
commit 34f3bf6deb

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']);
} }