Changeset 17509 for branches/comu-ver2/data/class/pages/mypage
- Timestamp:
- 2008/08/08 00:00:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/mypage/LC_Page_Mypage_Favorite.php
r17162 r17509 94 94 } 95 95 96 $col = "vpa.*"; 97 $from = "dtb_customer_favorite_products AS dcfp LEFT JOIN vw_products_allclass AS vpa USING(product_id)"; 98 $where = "vpa.del_flg = 0 AND dcfp.customer_id = ?"; 96 $col = "allcls.*"; 97 $from = "dtb_customer_favorite_products AS dcfp LEFT JOIN vw_products_allclass AS allcls USING(product_id)"; 98 99 $where = "allcls.del_flg = 0 AND allcls.status = 1 AND dcfp.customer_id = ?"; 100 // 在庫無し商品の非表示 101 if (NOSTOCK_HIDDEN === true) { 102 $where .= ' AND (allcls.stock_max >= 1 OR allcls.stock_unlimited_max = 1)'; 103 } 104 99 105 $arrval = array($objCustomer->getvalue('customer_id')); 100 106 $order = "product_id DESC";
Note: See TracChangeset
for help on using the changeset viewer.
