Ignore:
Timestamp:
2010/01/06 14:05:22 (16 years ago)
Author:
Yammy
Message:

http://svn.ec-cube.net/open_trac/ticket/545
SALE_LIMIT_MAX が無視されている

対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4-dev/data/class/helper/SC_Helper_DB.php

    r18416 r18465  
    315315                        $limit = $arrData['sale_limit']; 
    316316                    } else { 
    317                         $limit = $arrData['stock']; 
     317                        // 購入制限数を在庫数に 
     318                        #$limit = $arrData['stock']; 
     319                        // 購入制限数をSALE_LIMIT_MAXに 
     320                        $limit = SALE_LIMIT_MAX; 
    318321                    } 
    319322                } else { 
     
    322325                    } 
    323326                    if ($arrData['stock_unlimited'] != '1') { 
    324                         $limit = $arrData['stock']; 
     327                        // 購入制限数を在庫数に 
     328                        #$limit = $arrData['stock']; 
     329                        // 購入制限数をSALE_LIMIT_MAXに 
     330                        $limit = SALE_LIMIT_MAX; 
    325331                    } 
    326332                } 
Note: See TracChangeset for help on using the changeset viewer.