Changeset 20971
- Timestamp:
- 2011/06/10 19:37:11 (13 years ago)
- Location:
- branches/version-2_11-dev/data/class
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/helper/SC_Helper_Purchase.php
r20970 r20971 325 325 $incTax = SC_Helper_DB_Ex::sfCalcIncTax($arrItems[$product_class_id]['productsClass']['price02']); 326 326 $arrItems[$product_class_id]['total_inctax'] = $incTax * $arrItems[$product_class_id]['quantity']; 327 }328 329 /**330 * 配送商品の情報でカートを更新する.331 *332 * @param SC_CartSession $objCartSession SC_CartSession インスタンス333 */334 function shippingItemTempToCart(&$objCartSession) {335 $arrShipmentItems = array();336 foreach (array_keys($_SESSION['shipping']) as $shipping_id) {337 foreach (array_keys($_SESSION['shipping'][$shipping_id]['shipment_item']) as $product_class_id) {338 $arrShipmentItems[$product_class_id] += $_SESSION['shipping'][$shipping_id]['shipment_item'][$product_class_id]['quantity'];339 }340 }341 foreach ($arrShipmentItems as $product_class_id => $quantity) {342 $objCartSession->setProductValue($product_class_id, 'quantity',343 $quantity,$objCartSession->getKey());344 }345 327 } 346 328 -
branches/version-2_11-dev/data/class/pages/shopping/LC_Page_Shopping_Multiple.php
r20963 r20971 266 266 } 267 267 268 $objPurchase->shippingItemTempToCart($objCartSess);269 268 // $arrValues[0] には, 購入者の情報が格納されている 270 269 $objPurchase->saveOrderTemp($uniqid, $arrValues[0], $objCustomer);
Note: See TracChangeset
for help on using the changeset viewer.