shish 4 lat temu
rodzic
commit
e92bad6a4e
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      biz-ghs/product/classes/ProductClass.php

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

@@ -809,6 +809,9 @@ class ProductClass extends BaseClass
         if (is_numeric($price) == false || $price < 0) {
             util::fail('请填写价格');
         }
+        if (isset($data['skMore']) && is_numeric($data['skMore'])) {
+            $upData['skMore'] = $data['skMore'];
+        }
         if (isset($data['stockWarning'])) {
             $upData['stockWarning'] = $data['stockWarning'];
         }