Changeset 21016 for branches/version-2_11-dev/data
- Timestamp:
- 2011/07/05 19:29:09 (15 years ago)
- Location:
- branches/version-2_11-dev/data/class
- Files:
-
- 3 edited
-
helper/SC_Helper_Purchase.php (modified) (3 diffs)
-
pages/shopping/LC_Page_Shopping_Confirm.php (modified) (2 diffs)
-
pages/shopping/LC_Page_Shopping_Payment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/helper/SC_Helper_Purchase.php
r21013 r21016 75 75 $orderId = $this->registerOrderComplete($orderTemp, $objCartSession, 76 76 $cartkey); 77 $shippingTemp =& $this->getShippingTemp(true); 77 $isMultiple = SC_Helper_Purchase::isMultiple(); 78 $shippingTemp =& $this->getShippingTemp( $isMultiple ); 78 79 foreach ($shippingTemp as $shippingId => $val) { 79 80 $this->registerShipmentItem($orderId, $shippingId, … … 352 353 * 配送先都道府県の配列を返す. 353 354 */ 354 function getShippingPref( ) {355 function getShippingPref($is_multiple) { 355 356 $results = array(); 356 foreach (SC_Helper_Purchase_Ex::getShippingTemp( true) as $val) {357 foreach (SC_Helper_Purchase_Ex::getShippingTemp($is_multiple) as $val) { 357 358 $results[] = $val['shipping_pref']; 358 359 } … … 1269 1270 */ 1270 1271 function cleanupSession($orderId, &$objCartSession, &$objCustomer, $cartKey) { 1271 // カートの内容を削除する. 1272 // カートの内容を削除する. 1272 1273 $objCartSession->delAllProducts($cartKey); 1273 1274 SC_SiteSession_Ex::unsetUniqId(); -
branches/version-2_11-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php
r21006 r21016 99 99 100 100 // カートの商品を取得 101 $this->arrShipping = $objPurchase->getShippingTemp( true);101 $this->arrShipping = $objPurchase->getShippingTemp($this->is_multiple); 102 102 $this->arrCartItems = $objCartSess->getCartList($this->cartKey); 103 103 // 合計金額 … … 114 114 $arrCalcResults = $objCartSess->calculate($this->cartKey, $objCustomer, 115 115 $arrOrderTemp['use_point'], 116 $objPurchase->getShippingPref( ),116 $objPurchase->getShippingPref($this->is_multiple), 117 117 $arrOrderTemp['charge'], 118 118 $arrOrderTemp['discount'], -
branches/version-2_11-dev/data/class/pages/shopping/LC_Page_Shopping_Payment.php
r21006 r21016 81 81 $objFormParam = new SC_FormParam_Ex(); 82 82 83 $this->is_multiple = $objPurchase->isMultiple(); 84 83 85 // カートの情報を取得 84 $this->arrShipping =& $objPurchase->getShippingTemp(true); 85 86 $this->is_multiple = $objPurchase->isMultiple(); 86 $this->arrShipping =& $objPurchase->getShippingTemp($this->is_multiple); 87 87 88 $this->tpl_uniqid = $objSiteSess->getUniqId(); 88 89 $cart_key = $objCartSess->getKey();
Note: See TracChangeset
for help on using the changeset viewer.
