Skip to content

Commit

Permalink
не выгружать акционные цены равные нулю
Browse files Browse the repository at this point in the history
  • Loading branch information
gorokh committed Dec 13, 2019
1 parent 82ff362 commit 81737b4
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 81737b4

Please sign in to comment.