mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
Merge pull request #174 from Evgeniy-Goroh/price_upload
не выгружать акционные цены равные нулю
This commit is contained in:
commit
9d90c32b17
@ -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