Changeset 17266


Ignore:
Timestamp:
2008/04/17 19:10:30 (12 years ago)
Author:
satou
Message:

RSS-商品 項目追加(在庫数、在庫無制限、商品更新日時)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/class/pages/rss/LC_Page_Rss_Products.php

    r16582 r17266  
    8585                // ポイント計算 
    8686                $arrProduct[$key]["point"] = SC_Utils_Ex::sfPrePoint($arrProduct[$key]["price02"], $arrProduct[$key]["point_rate"], POINT_RULE, $arrProduct[$key]["product_id"]); 
     87 
     88                // 在庫無制限 
     89                $arrProduct[$key]["stock_unlimited"] = ($arrProduct[$key]["stock_unlimited"] == 1) ? "在庫無制限" : NULL; 
    8790            } 
    8891        }elseif($mode == "list"){ 
     
    169172        $sql .= "   ,cls.price01 "; 
    170173        $sql .= "   ,cls.price02 "; 
     174        $sql .= "   ,cls.stock "; 
     175        $sql .= "   ,cls.stock_unlimited "; 
    171176        $sql .= "   ,cls.classcategory_id1 "; 
    172177        $sql .= "   ,cls.classcategory_id2 "; 
     
    174179        $sql .= "   ,(SELECT name FROM dtb_classcategory AS clscat WHERE clscat.classcategory_id = cls.classcategory_id2) AS classcategory_name2 "; 
    175180        $sql .= "   ,(SELECT category_name FROM dtb_category AS cat WHERE cat.category_id = prod.category_id) AS category_name"; 
     181        $sql .= "   ,prod.update_date "; 
    176182        $sql .= " FROM dtb_products AS prod, dtb_products_class AS cls"; 
    177183        $sql .= " WHERE prod.product_id = cls.product_id AND prod.del_flg = 0 AND prod.status = 1"; 
Note: See TracChangeset for help on using the changeset viewer.