mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 14:46:06 +03:00
Merge branch 'master' of https://github.com/retailcrm/opencart-module
This commit is contained in:
commit
acd3591b28
@ -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']
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user