Changeset 22941
- Timestamp:
- 2013/07/07 12:32:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php
r22926 r22941 79 79 $this->tpl_uniqid = $objSiteSess->getUniqId(); 80 80 81 $this->addrs = $this->getDelivAddrs($objCustomer, $objPurchase, 82 $objAddress, $this->tpl_uniqid); 81 $this->addrs = $this->getDelivAddrs($objCustomer, $objPurchase, $objAddress); 83 82 $this->tpl_addrmax = count($this->addrs) - 2; // 「選択してください」と会員の住所をカウントしない 84 83 $this->lfInitParam($objFormParam); … … 95 94 $this->saveMultipleShippings($this->tpl_uniqid, $objFormParam, 96 95 $objCustomer, $objPurchase, 97 $obj CartSess, $objAddress);96 $objAddress); 98 97 $objSiteSess->setRegistFlag(); 99 98 … … 149 148 $arrItems = array(); 150 149 $index = 0; 151 foreach ( $cartLists as $key => $value) {150 foreach (array_keys($cartLists) as $key) { 152 151 $arrProductsClass = $cartLists[$key]['productsClass']; 153 152 $quantity = (int) $cartLists[$key]['quantity']; … … 173 172 * @param SC_Customer $objCustomer SC_Customer インスタンス 174 173 * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase インスタンス 175 * @param integer $uniqid 受注一時テーブルのユニークID176 174 * @return array 配送住所のプルダウン用連想配列 177 175 */ 178 function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress , $uniqid)176 function getDelivAddrs(&$objCustomer, &$objPurchase, &$objAddress) 179 177 { 180 178 $masterData = new SC_DB_MasterData_Ex(); … … 288 286 * @param SC_Customer $objCustomer SC_Customer インスタンス 289 287 * @param SC_Helper_Purchase $objPurchase SC_Helper_Purchase インスタンス 290 * @param SC_CartSession $objCartSess SC_CartSession インスタンス 291 * @return void 292 */ 293 function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objCartSess, &$objAddress) 288 * @return void 289 */ 290 function saveMultipleShippings($uniqid, &$objFormParam, &$objCustomer, &$objPurchase, &$objAddress) 294 291 { 295 292 $arrParams = $objFormParam->getSwapArray();
Note: See TracChangeset
for help on using the changeset viewer.