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

+ 1 - 1
biz-ghs/product/classes/ProductClass.php

@@ -1155,7 +1155,7 @@ class ProductClass extends BaseClass
     public static function changeSinglePrice($shop, $ptItemId, $price, $skPrice = null, $hjPrice = null, $params = [])
     {
         $mainId = $shop->mainId ?? 0;
-        $productInfo = ProductClass::getByCondition(['itemId' => $ptItemId, 'mainId' => $mainId], true);
+        $productInfo = ProductClass::getByCondition(['itemId' => $ptItemId, 'mainId' => $mainId, 'delStatus' => 0], true);
         if (empty($productInfo)) {
             return false;
         }