Changeset 22804


Ignore:
Timestamp:
2013/05/10 19:13:07 (4 years ago)
Author:
m_uehara
Message:

#2171 カートの値取得処理のモバイル対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/cart/LC_Page_Cart.php

    r22796 r22804  
    8585        $objFormParam = $this->lfInitParam($_POST); 
    8686        $this->mode = $this->getMode(); 
     87 
     88        // モバイル対応 
     89        if(SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
     90            if(isset($_GET['cart_no'])) $objFormParam->setValue('cart_no', $_GET['cart_no']); 
     91            if(isset($_GET['cartKey'])) $objFormParam->setValue('cartKey', $_GET['cartKey']); 
     92        } 
    8793 
    8894        $this->cartKeys = $objCartSess->getKeys(); 
Note: See TracChangeset for help on using the changeset viewer.