dever 4 년 전
부모
커밋
3ba3f4d058
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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']);