Skip to content

Commit

Permalink
Merge pull request #174 from Evgeniy-Goroh/price_upload
Browse files Browse the repository at this point in the history
не выгружать акционные цены равные нулю
  • Loading branch information
gwinn authored Jan 9, 2020
2 parents 3d055a0 + 81737b4 commit 9d90c32
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/upload/admin/model/extension/retailcrm/prices.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ private function getPriceRequest($product, $site, $productPrice)
$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(
Expand Down

0 comments on commit 9d90c32

Please sign in to comment.