This commit is contained in:
dkorol 2016-04-11 17:34:10 +03:00
commit acd3591b28
2 changed files with 2 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class ModelRetailcrmIcml extends Model
if ($offer['weight'] != '') {
$weight = $this->dd->createElement('param');
$weight->setAttribute('color', 'weight');
$weight->setAttribute('code', 'weight');
$weight->setAttribute('name', $this->language->get('weight'));
$weightValue = (isset($offer['weight_class']))
? round($offer['weight'], 3) . ' ' . $offer['weight_class']

View File

@ -15,6 +15,7 @@
$order = $this->model_checkout_order->getOrder($this->session->data['order_id']);
$order['products'] = $this->model_account_order->getOrderProducts($this->session->data['order_id']);
$order['order_total'] = $this->model_account_order->getOrderTotals($this->session->data['order_id']);
$this->model_retailcrm_order->sendToCrm($order, $this->session->data['order_id']);
]]></add>