Changeset 20553


Ignore:
Timestamp:
2011/03/08 18:42:22 (13 years ago)
Author:
kotani
Message:

#1111 ([フロント]商品購入(お届け先指定):ダウンロード商品の場合でも表示されるケースがある)

Location:
branches/version-2_5-dev/data/class
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_CartSession.php

    r20541 r20553  
    5151            } 
    5252        } 
    53         $this->registerKey($productTypeId); 
    5453    } 
    5554 
  • branches/version-2_5-dev/data/class/helper/SC_Helper_Purchase.php

    r20539 r20553  
    112112        foreach ($cartKeys as $cartKey) { 
    113113            // 初回のみカートの内容を保存 
    114             $objCartSession->saveCurrentCart($uniqid, $cartKey); 
     114            $objCartSession->saveCurrentCart($uniqId, $cartKey); 
    115115 
    116116            /* 
  • branches/version-2_5-dev/data/class/pages/cart/LC_Page_Cart.php

    r20541 r20553  
    101101            if(count($cartList) > 0) { 
    102102                // カートを購入モードに設定 
    103                 $this->lfSetCurrentCart($objSiteSess,$objCartSess); 
     103                $this->lfSetCurrentCart($objSiteSess, $objCartSess, $cartKey); 
    104104                // 購入ページへ 
    105105                SC_Response_Ex::sendRedirect(SHOPPING_URL); 
     
    223223     * @return void 
    224224     */ 
    225     function lfSetCurrentCart(&$objSiteSess,&$objCartSess){ 
     225    function lfSetCurrentCart(&$objSiteSess, &$objCartSess, $cartKey){ 
    226226        // 正常に登録されたことを記録しておく 
    227227        $objSiteSess->setRegistFlag(); 
     
    235235        } 
    236236        // カートを購入モードに設定 
     237        $objCartSess->registerKey($cartKey); 
    237238        $objCartSess->saveCurrentCart($uniqid, $cartKey); 
    238239    } 
Note: See TracChangeset for help on using the changeset viewer.