mirror of
https://github.com/retailcrm/opencart-module.git
synced 2025-01-23 03:01:41 +03:00
fix model prices
This commit is contained in:
parent
8a823cf3ad
commit
48ccded014
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user