- Timestamp:
- 2013/01/18 10:51:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/mypage/LC_Page_Mypage_History.php
r22206 r22271 74 74 $objDb = new SC_Helper_DB_Ex(); 75 75 $objPurchase = new SC_Helper_Purchase_Ex(); 76 $objProduct = new SC_Product(); 76 77 77 78 if (!SC_Utils_Ex::sfIsInt($_GET['order_id'])) { … … 79 80 } 80 81 81 $order_id = $_GET['order_id']; 82 $order_id = $_GET['order_id']; 83 $this->is_price_change = false; 82 84 83 85 //受注データの取得 … … 95 97 // 受注商品明細の取得 96 98 $this->tpl_arrOrderDetail = $objPurchase->getOrderDetail($order_id); 99 foreach ($this->tpl_arrOrderDetail as $product_index => $arrOrderProductDetail) { 100 //必要なのは商品の販売金額のみなので、遅い場合は、別途SQL作成した方が良い 101 $arrTempProductDetail = $objProduct->getProductsClass($arrOrderProductDetail['product_class_id']); 102 if($this->tpl_arrOrderDetail[$product_index]['price'] != $arrTempProductDetail['price02']) { 103 $this->is_price_change = true; 104 } 105 $this->tpl_arrOrderDetail[$product_index]['product_price'] = ($arrTempProductDetail['price02'])?$arrTempProductDetail['price02']:0; 106 } 107 97 108 $this->tpl_arrOrderDetail = $this->setMainListImage($this->tpl_arrOrderDetail); 98 109 $objPurchase->setDownloadableFlgTo($this->tpl_arrOrderDetail);
Note: See TracChangeset
for help on using the changeset viewer.