mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-01-23 03:01:41 +03:00
Merge branch 'master' of https://github.com/iyzoer/opencart-module
merge
This commit is contained in:
commit
1190fec934
@ -87,7 +87,7 @@ class ModelExtensionRetailcrmOrder extends Model {
|
|||||||
$this->load->model('setting/setting');
|
$this->load->model('setting/setting');
|
||||||
$this->load->model('catalog/product');
|
$this->load->model('catalog/product');
|
||||||
$this->settings = $this->model_setting_setting->getSetting($this->moduleTitle);
|
$this->settings = $this->model_setting_setting->getSetting($this->moduleTitle);
|
||||||
|
|
||||||
if (version_compare(VERSION, '3.0', '<')) {
|
if (version_compare(VERSION, '3.0', '<')) {
|
||||||
$settingPaid = $this->model_setting_setting->getSetting($order_data['payment_code']);
|
$settingPaid = $this->model_setting_setting->getSetting($order_data['payment_code']);
|
||||||
} else {
|
} else {
|
||||||
@ -104,7 +104,7 @@ class ModelExtensionRetailcrmOrder extends Model {
|
|||||||
if(!empty($order_data['email'])) {
|
if(!empty($order_data['email'])) {
|
||||||
$order['email'] = $order_data['email'];
|
$order['email'] = $order_data['email'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$deliveryCost = 0;
|
$deliveryCost = 0;
|
||||||
$orderTotals = isset($order_data['totals']) ? $order_data['totals'] : $order_data['order_total'] ;
|
$orderTotals = isset($order_data['totals']) ? $order_data['totals'] : $order_data['order_total'] ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user