dever 4 năm trước cách đây
mục cha
commit
3ba3f4d058
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      app/goods/lib/Info.php

+ 4 - 0
app/goods/lib/Info.php

@@ -445,6 +445,10 @@ class Info
 
         $this->getGroup($info);
 
+        if (!$info['attr']) {
+            $info['price_type'] = 1;
+        }
+
         //$info['freight'] = 0;
         unset($info['f_price']);
         unset($info['cdate']);