mirror of
https://github.com/retailcrm/opencart-module.git
synced 2024-11-22 05:06:07 +03:00
не выгружать акционные цены равные нулю
This commit is contained in:
parent
82ff3628cd
commit
81737b4df3
@ -129,6 +129,9 @@ class ModelExtensionRetailcrmPrices extends Model
|
|||||||
$price = array();
|
$price = array();
|
||||||
|
|
||||||
foreach($productPrice as $k => $v) {
|
foreach($productPrice as $k => $v) {
|
||||||
|
if (isset($v['price']) && ($v['price'] + $optionsValues['price'] == 0)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($this->settings[$this->moduleTitle . '_special_' . $k])) {
|
if (isset($this->settings[$this->moduleTitle . '_special_' . $k])) {
|
||||||
$price[] = array(
|
$price[] = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user