Changeset 17757


Ignore:
Timestamp:
2009/02/04 01:37:24 (12 years ago)
Author:
Seasoft
Message:

・0円商品にフル対応。(従来はCSVのみ対応してた)  http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=2942&forum=10
・価格では入力チェック「SPTAB_CHECK」は不要と思われるので削除。

Location:
branches/comu-ver2/data/class/pages/admin/products
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r17672 r17757  
    567567        if($this->tpl_nonclass) { 
    568568            $objErr->doFunc(array("商品コード", "product_code", STEXT_LEN), array("EXIST_CHECK", "SPTAB_CHECK","MAX_LENGTH_CHECK","MAX_LENGTH_CHECK")); 
    569             $objErr->doFunc(array(NORMAL_PRICE_TITLE, "price01", PRICE_LEN), array("ZERO_CHECK", "SPTAB_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    570             $objErr->doFunc(array(SALE_PRICE_TITLE, "price02", PRICE_LEN), array("EXIST_CHECK", "NUM_CHECK", "ZERO_CHECK", "SPTAB_CHECK", "MAX_LENGTH_CHECK")); 
     569            $objErr->doFunc(array(NORMAL_PRICE_TITLE, "price01", PRICE_LEN), array("NUM_CHECK", "MAX_LENGTH_CHECK")); 
     570            $objErr->doFunc(array(SALE_PRICE_TITLE, "price02", PRICE_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    571571 
    572572            if(!isset($array['stock_unlimited']) && $array['stock_unlimited'] != "1") { 
  • branches/comu-ver2/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php

    r17581 r17757  
    429429            if($array["check:".$no] == 1) { 
    430430                $objErr->doFunc(array("商品コード", "product_code:".$no, STEXT_LEN), array("MAX_LENGTH_CHECK")); 
    431                 $objErr->doFunc(array(NORMAL_PRICE_TITLE, "price01:".$no, PRICE_LEN), array("ZERO_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    432                 $objErr->doFunc(array(SALE_PRICE_TITLE, "price02:".$no, PRICE_LEN), array("EXIST_CHECK", "ZERO_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
     431                $objErr->doFunc(array(NORMAL_PRICE_TITLE, "price01:".$no, PRICE_LEN), array("NUM_CHECK", "MAX_LENGTH_CHECK")); 
     432                $objErr->doFunc(array(SALE_PRICE_TITLE, "price02:".$no, PRICE_LEN), array("EXIST_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 
    433433 
    434434                if($array["stock_unlimited:".$no] != '1') { 
Note: See TracChangeset for help on using the changeset viewer.