Ignore:
Timestamp:
2011/07/05 19:29:09 (13 years ago)
Author:
habu
Message:

#1394(会員住所以外のお届け先を指定しても情報が反映されない)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/helper/SC_Helper_Purchase.php

    r21013 r21016  
    7575        $orderId = $this->registerOrderComplete($orderTemp, $objCartSession, 
    7676                                                $cartkey); 
    77         $shippingTemp =& $this->getShippingTemp(true); 
     77        $isMultiple = SC_Helper_Purchase::isMultiple(); 
     78        $shippingTemp =& $this->getShippingTemp( $isMultiple ); 
    7879        foreach ($shippingTemp as $shippingId => $val) { 
    7980            $this->registerShipmentItem($orderId, $shippingId, 
     
    352353     * 配送先都道府県の配列を返す. 
    353354     */ 
    354     function getShippingPref() { 
     355    function getShippingPref($is_multiple) { 
    355356        $results = array(); 
    356         foreach (SC_Helper_Purchase_Ex::getShippingTemp(true) as $val) { 
     357        foreach (SC_Helper_Purchase_Ex::getShippingTemp($is_multiple) as $val) { 
    357358            $results[] = $val['shipping_pref']; 
    358359        } 
     
    12691270     */ 
    12701271    function cleanupSession($orderId, &$objCartSession, &$objCustomer, $cartKey) { 
    1271         // カートの内容を削除する.  
     1272        // カートの内容を削除する. 
    12721273        $objCartSession->delAllProducts($cartKey); 
    12731274        SC_SiteSession_Ex::unsetUniqId(); 
Note: See TracChangeset for help on using the changeset viewer.