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