- Timestamp:
- 2012/02/17 02:42:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php
r21515 r21527 130 130 131 131 case 'json': 132 133 134 135 136 137 138 139 140 141 142 break;132 $this->arrProducts = $this->setStatusDataTo($this->arrProducts, $this->arrSTATUS, $this->arrSTATUS_IMAGE); 133 $this->arrProducts = $objProduct->setPriceTaxTo($this->arrProducts); 134 135 // 一覧メイン画像の指定が無い商品のための処理 136 foreach ($this->arrProducts as $key=>$val) { 137 $this->arrProducts[$key]['main_list_image'] = SC_Utils_Ex::sfNoImageMainList($val['main_list_image']); 138 } 139 140 echo SC_Utils_Ex::jsonEncode($this->arrProducts); 141 exit; 142 break; 143 143 144 144 default: … … 279 279 ( 280 280 SELECT 281 281 T3.rank * 2147483648 + T2.rank 282 282 FROM 283 283 $dtb_product_categories T2 … … 297 297 $objQuery->setWhere($searchCondition['where']); 298 298 299 299 // 表示すべきIDとそのIDの並び順を一気に取得 300 300 $arrProductId = $objProduct->findProductIdsOrder($objQuery, array_merge($searchCondition['arrval'], $arrval_order)); 301 301 … … 500 500 $product_status_id = $arrValues[$i]; 501 501 if (!empty($product_status_id)) { 502 $arrProductStatus = array('status_cd' => $product_status_id, 503 'status_name' => $arrStatus[$product_status_id], 504 'status_image' =>$arrStatusImage[$product_status_id]); 502 $arrProductStatus = array( 503 'status_cd' => $product_status_id, 504 'status_name' => $arrStatus[$product_status_id], 505 'status_image' =>$arrStatusImage[$product_status_id], 506 ); 505 507 $arrProducts['productStatus'][$product_id][$i] = $arrProductStatus; 506 508 }
Note: See TracChangeset
for help on using the changeset viewer.