shish 4 лет назад
Родитель
Сommit
b39643a0cc
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      biz-ghs/product/classes/ProductClass.php

+ 0 - 4
biz-ghs/product/classes/ProductClass.php

@@ -133,10 +133,6 @@ class ProductClass extends BaseClass
             $list[$k]['price'] = $price;
             $list[$k]['bigPrice'] = $price;
 
-            if(isset($v['discountPrice']) && $v['discountPrice'] > 0){
-                $list[$k]['discountPrice'] = $price;
-            }
-
             $smallPrice = bcdiv($price, $ratio, 2);
             $list[$k]['smallPrice'] = $smallPrice;