fix model prices

This commit is contained in:
Sergey 2019-03-01 11:07:16 +03:00
parent 8a823cf3ad
commit 48ccded014

View File

@ -69,7 +69,7 @@ class ModelExtensionRetailcrmPrices extends Model
if (!$specials) { if (!$specials) {
$productPrice = $this->getEmptyPrice(); $productPrice = $this->getEmptyPrice();
$prices[] = $this->getPriceRequest($product, $site, $productPrice, true); $prices[] = $this->getPriceRequest($product, $site, $productPrice);
} }
$productPrice = array(); $productPrice = array();
@ -93,8 +93,7 @@ class ModelExtensionRetailcrmPrices extends Model
* *
* @param $product * @param $product
* @param $site * @param $site
* @param $specials * @param $productPrice
* @param bool $noSpecials
* *
* @return array * @return array
*/ */