Changeset 17509 for branches/comu-ver2/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Best5.php
- Timestamp:
- 2008/08/08 00:00:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Best5.php
r17288 r17509 108 108 $col = "DISTINCT A.*, name, price02_min, price01_min, main_list_image "; 109 109 $from = "dtb_best_products AS A INNER JOIN vw_products_allclass AS allcls using(product_id)"; 110 $where = "status = 1"; 110 $where = "allcls.del_flg = 0 AND allcls.status = 1"; 111 112 // 在庫無し商品の非表示 113 if (NOSTOCK_HIDDEN === true) { 114 $where .= ' AND (allcls.stock_max >= 1 OR allcls.stock_unlimited_max = 1)'; 115 } 116 111 117 $order = "rank"; 112 118 $objQuery->setorder($order);
Note: See TracChangeset
for help on using the changeset viewer.