Index: branches/version-2_4-dev/data/class/helper/SC_Helper_DB.php
===================================================================
--- branches/version-2_4-dev/data/class/helper/SC_Helper_DB.php	(revision 18416)
+++ branches/version-2_4-dev/data/class/helper/SC_Helper_DB.php	(revision 18465)
@@ -315,5 +315,8 @@
                         $limit = $arrData['sale_limit'];
                     } else {
-                        $limit = $arrData['stock'];
+                        // 購入制限数を在庫数に
+                        #$limit = $arrData['stock'];
+                        // 購入制限数をSALE_LIMIT_MAXに
+                        $limit = SALE_LIMIT_MAX;
                     }
                 } else {
@@ -322,5 +325,8 @@
                     }
                     if ($arrData['stock_unlimited'] != '1') {
-                        $limit = $arrData['stock'];
+                        // 購入制限数を在庫数に
+                        #$limit = $arrData['stock'];
+                        // 購入制限数をSALE_LIMIT_MAXに
+                        $limit = SALE_LIMIT_MAX;
                     }
                 }
Index: branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_List.php	(revision 18418)
+++ branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_List.php	(revision 18465)
@@ -542,6 +542,4 @@
             for($i = 0; $i < count($this->arrProducts); $i++) {
                 $this->lfMakeSelect($this->arrProducts[$i]['product_id'], $arrClassName, $arrClassCatName);
-                // 購入制限数を取得
-                $this->lfGetSaleLimit($this->arrProducts[$i]);
             }
         }
@@ -716,14 +714,4 @@
     }
 
-    // 購入制限数の設定
-    function lfGetSaleLimit($product) {
-        //在庫が無限または購入制限値が設定値より大きい場合
-        if($product['sale_unlimited'] == 1 || $product['sale_limit'] > SALE_LIMIT_MAX) {
-            $this->tpl_sale_limit[$product['product_id']] = SALE_LIMIT_MAX;
-        } else {
-            $this->tpl_sale_limit[$product['product_id']] = $product['sale_limit'];
-        }
-    }
-
     //支払方法の取得
     //payment_id    1:代金引換　2:銀行振り込み　3:現金書留
Index: branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_Detail.php
===================================================================
--- branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_Detail.php	(revision 18407)
+++ branches/version-2_4-dev/data/class/pages/products/LC_Page_Products_Detail.php	(revision 18465)
@@ -222,10 +222,4 @@
         $this->arrProductCode = $arrProductCode["product_code"];
 
-        // 購入制限数を取得
-        if($this->arrProduct['sale_unlimited'] == 1 || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) {
-          $this->tpl_sale_limit = SALE_LIMIT_MAX;
-        } else {
-          $this->tpl_sale_limit = $this->arrProduct['sale_limit'];
-        }
         // サブタイトルを取得
         $arrCategory_id = $objDb->sfGetCategoryId($arrRet[0]['product_id'],'',$status);
@@ -445,11 +439,4 @@
         $arrProductCode = SC_Utils_Ex::sfswaparray($arrProductCode);
         $this->arrProductCode = $arrProductCode["product_code"];
-
-        // 購入制限数を取得
-        if($this->arrProduct['sale_unlimited'] == 1 || $this->arrProduct['sale_limit'] > SALE_LIMIT_MAX) {
-            $this->tpl_sale_limit = SALE_LIMIT_MAX;
-        } else {
-            $this->tpl_sale_limit = $this->arrProduct['sale_limit'];
-        }
 
         // サブタイトルを取得
