mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-25 06:36:06 +03:00
не выгружать акционные цены равные нулю
This commit is contained in:
parent
82ff3628cd
commit
81737b4df3
@ -129,6 +129,9 @@ class ModelExtensionRetailcrmPrices extends Model
|
||||
$price = array();
|
||||
|
||||
foreach($productPrice as $k => $v) {
|
||||
if (isset($v['price']) && ($v['price'] + $optionsValues['price'] == 0)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (isset($this->settings[$this->moduleTitle . '_special_' . $k])) {
|
||||
$price[] = array(
|
||||
|
Loading…
Reference in New Issue
Block a user