- Timestamp:
- 2012/04/04 04:43:31 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/rss/LC_Page_Rss_Products.php
r21693 r21708 210 210 // 値の整形 211 211 foreach ($arrProduct as $key => $val) { 212 //販売価格を税込みに編集213 $arrProduct[$key]['price02_max'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProduct[$key]['price02_max']);214 $arrProduct[$key]['price02_min'] = SC_Helper_DB_Ex::sfCalcIncTax($arrProduct[$key]['price02_min']);215 212 // 画像ファイルのURLセット 216 213 if (file_exists(IMAGE_SAVE_REALDIR . $arrProduct[$key]['main_list_image'])) { … … 300 297 $arrProductLsit = $objProduct->lists($objQuery); 301 298 // 各商品のカテゴリIDとランクの取得 302 $arrProduct = array();299 $arrProducts = array(); 303 300 foreach ($arrProductLsit as $key => $val) { 304 301 $sql = ''; … … 317 314 $arrCategory = $objQuery->getAll($sql, array($val['product_id'])); 318 315 if (!empty($arrCategory)) { 319 $arrProduct[$key] = array_merge($val, $arrCategory[0]); 320 } 321 } 322 return $arrProduct; 316 $arrProducts[$key] = array_merge($val, $arrCategory[0]); 317 } 318 } 319 320 // 税込金額を設定する 321 SC_Product_Ex::setIncTaxToProducts($arrProducts); 322 323 return $arrProducts; 323 324 } 324 325 }
Note: See TracChangeset
for help on using the changeset viewer.