Ignore:
Timestamp:
2012/11/12 20:33:15 (10 years ago)
Author:
h_yoshimoto
Message:

#1955 r22089r22095 間のコミットをmerge

Location:
branches/version-2_12-multilang
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang

  • branches/version-2_12-multilang/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php

    r22067 r22096  
    244244        for ($i = 0; $i < $total; $i++) { 
    245245            $del_flg = SC_Utils_Ex::isBlank($arrList['check'][$i]) ? 1 : 0; 
    246             $stock_unlimited = SC_Utils_Ex::isBlank($arrList['stock_unlimited'][$i]) ? 0 : $arrList['stock_unlimited'][$i]; 
    247246            $price02 = SC_Utils_Ex::isBlank($arrList['price02'][$i]) ? 0 : $arrList['price02'][$i]; 
    248247            // dtb_products_class 登録/更新用 
     
    261260            $arrPC['deliv_fee'] = $arrDefault['deliv_fee']; 
    262261            $arrPC['point_rate'] = $arrDefault['point_rate']; 
    263             $arrPC['stock_unlimited'] = $stock_unlimited; 
     262            if ($arrList['stock_unlimited'][$i] == 1) { 
     263                $arrPC['stock_unlimited'] = 1; 
     264                $arrPC['stock'] = null; 
     265            } else { 
     266                $arrPC['stock_unlimited'] = 0; 
     267            } 
    264268            $arrPC['price02'] = $price02; 
    265269 
Note: See TracChangeset for help on using the changeset viewer.