Changeset 23126 for branches/version-2_13_0/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php
- Timestamp:
- 2013/08/26 15:52:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13_0/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Recommend.php
r22926 r23126 38 38 * @return void 39 39 */ 40 function init()40 public function init() 41 41 { 42 42 parent::init(); … … 48 48 * @return void 49 49 */ 50 function process()50 public function process() 51 51 { 52 52 $this->action(); … … 59 59 * @return void 60 60 */ 61 function action()61 public function action() 62 62 { 63 63 // 基本情報を渡す … … 74 74 * @return array $arrBestProducts 検索結果配列 75 75 */ 76 function lfGetRanking()76 public function lfGetRanking() 77 77 { 78 78 $objRecommend = new SC_Helper_BestProducts_Ex(); … … 100 100 if (isset($arrProducts[$value['product_id']])) { 101 101 $product = $arrProducts[$value['product_id']]; 102 if ( !NOSTOCK_HIDDEN || ($product['status'] == 1 &&($product['stock_max'] >= 1 || $product['stock_unlimited_max'] == 1))) {102 if ($product['status'] == 1 && (!NOSTOCK_HIDDEN || ($product['stock_max'] >= 1 || $product['stock_unlimited_max'] == 1))) { 103 103 $response[] = array_merge($value, $arrProducts[$value['product_id']]); 104 104 }
Note: See TracChangeset
for help on using the changeset viewer.