Changeset 21256 for branches/version-2_11-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php
- Timestamp:
- 2011/09/25 13:15:51 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php
r21215 r21256 101 101 // 商品一覧を取得 102 102 // where条件生成&セット 103 $arr BestProductIds= array();103 $arrProductId = array(); 104 104 $where = 'product_id IN ('; 105 105 foreach ($arrBestProducts as $key => $val) { 106 $arr BestProductIds[] = $val['product_id'];106 $arrProductId[] = $val['product_id']; 107 107 } 108 $where .= implode(', ', $arrBestProductIds);109 $where .= ')';110 $where .= ' AND del_flg = 0'; // 商品規格の削除フラグ111 $objQuery->setWhere($where);112 108 // 取得 113 $arrTmp = $objProduct-> lists($objQuery);109 $arrTmp = $objProduct->getListByProductIds($objQuery, $arrProductId); 114 110 foreach ($arrTmp as $key => $arrRow) { 115 111 $arrProductList[$arrRow['product_id']] = $arrRow;
Note: See TracChangeset
for help on using the changeset viewer.