- Timestamp:
- 2012/03/04 22:25:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/helper/SC_Helper_Purchase.php
r21572 r21589 79 79 $orderTemp['status'] = $orderStatus; 80 80 $cartkey = $objCartSession->getKey(); 81 $order Id = $this->registerOrderComplete($orderTemp, $objCartSession, $cartkey);81 $order_id = $this->registerOrderComplete($orderTemp, $objCartSession, $cartkey); 82 82 $isMultiple = SC_Helper_Purchase::isMultiple(); 83 83 $shippingTemp =& $this->getShippingTemp($isMultiple); 84 84 foreach ($shippingTemp as $shippingId => $val) { 85 $this->registerShipmentItem($order Id, $shippingId, $val['shipment_item']);86 } 87 88 $this->registerShipping($order Id, $shippingTemp);85 $this->registerShipmentItem($order_id, $shippingId, $val['shipment_item']); 86 } 87 88 $this->registerShipping($order_id, $shippingTemp); 89 89 $objQuery->commit(); 90 90 … … 94 94 } 95 95 96 $this->cleanupSession($orderId, $objCartSession, $objCustomer, $cartkey); 97 98 GC_Utils_Ex::gfFrontLog('order complete. customerId=' . $customerId); 99 96 $this->cleanupSession($order_id, $objCartSession, $objCustomer, $cartkey); 97 98 GC_Utils_Ex::gfPrintLog('order complete. order_id=' . $order_id); 100 99 } 101 100 … … 516 515 function extractShipping($arrSrc) { 517 516 $arrKey = array(); 518 foreach ($this->arrShippingKey as $key) {517 foreach ($this->arrShippingKey as $key) { 519 518 $arrKey[] = 'shipping_' . $key; 520 519 }
Note: See TracChangeset
for help on using the changeset viewer.
