Index: /branches/comu-ver2/html/install/sql/insert_data.sql
===================================================================
--- /branches/comu-ver2/html/install/sql/insert_data.sql	(revision 18345)
+++ /branches/comu-ver2/html/install/sql/insert_data.sql	(revision 18374)
@@ -1000,5 +1000,4 @@
 INSERT INTO mtb_constants VALUES ('DELIV_DATE_END_MAX','21',272,'お届け可能日以降のプルダウン表示最大日数');
 INSERT INTO mtb_constants VALUES ('PURCHASE_CUSTOMER_REGIST','0',273,'購入時強制会員登録(1:有効　0:無効)');
-INSERT INTO mtb_constants VALUES ('RELATED_PRODUCTS_MAX','3',274,'この商品を買った人はこんな商品も買っています　表示件数');
 INSERT INTO mtb_constants VALUES ('CV_PAYMENT_LIMIT','14',275,'支払期限');
 INSERT INTO mtb_constants VALUES ('CAMPAIGN_REGIST_MAX','20',276,'キャンペーン登録最大数');
Index: /branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php
===================================================================
--- /branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php	(revision 18325)
+++ /branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php	(revision 18374)
@@ -267,6 +267,4 @@
         //関連商品情報表示
         $this->arrRecommend = $this->lfPreGetRecommendProducts($product_id);
-        //この商品を買った人はこんな商品も買っています
-        $this->arrRelateProducts = $this->lfGetRelateProducts($product_id);
 
         $this->lfConvertParam();
@@ -461,6 +459,4 @@
         //関連商品情報表示
         $this->arrRecommend = $this->lfPreGetRecommendProducts($product_id);
-        //この商品を買った人はこんな商品も買っています
-        $this->arrRelateProducts = $this->lfGetRelateProducts($product_id);
 
         $objView->assignobj($this);
@@ -693,22 +689,4 @@
     }
 
-    //この商品を買った人はこんな商品も買っています FIXME
-    function lfGetRelateProducts($product_id) {
-        $objQuery = new SC_Query;
-        //自動抽出
-        $objQuery->setorder("random()");
-        //表示件数の制限
-        $objQuery->setlimit(RELATED_PRODUCTS_MAX);
-        //検索条件
-        $col = "name, main_list_image, price01_min, price02_min, price01_max, price02_max, point_rate";
-        $from = "vw_products_allclass AS allcls ";
-        $where = "del_flg = 0 AND status = 1 AND (stock_max <> 0 OR stock_max IS NULL) AND product_id = ? ";
-        $arrval[] = $product_id;
-        //結果の取得
-        $arrProducts = $objQuery->select($col, $from, $where, $arrval);
-
-        return $arrProducts;
-    }
-
     //商品ごとのレビュー情報を取得する
     function lfGetReviewData($id) {
Index: /branches/comu-ver2/data/mtb_constants_init.php
===================================================================
--- /branches/comu-ver2/data/mtb_constants_init.php	(revision 18345)
+++ /branches/comu-ver2/data/mtb_constants_init.php	(revision 18374)
@@ -439,6 +439,4 @@
 /** 購入時強制会員登録(1:有効　0:無効) */
 define('PURCHASE_CUSTOMER_REGIST', 0);
-/** この商品を買った人はこんな商品も買っています　表示件数 */
-define('RELATED_PRODUCTS_MAX', 3);
 /** 支払期限 */
 define('CV_PAYMENT_LIMIT', 14);
