- Timestamp:
- 2011/03/16 10:40:38 (13 years ago)
- bzr:base-revision:
- ohkouchi@loop-az.jp-20110316010955-v503h2qhtunovfpq
- bzr:committer:
- Kentaro Ohkouchi <ohkouchi@loop-az.jp>
- bzr:file-ids:
data/Smarty/templates/default/cart/index.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fcart%2Findex.tpl
data/class/pages/cart/LC_Page_Cart.php 15179@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fcart%2FLC_Page_Cart.php- bzr:mapping-version:
- v4
- bzr:merge:
ohkouchi@loop-az.jp-20110316013919-fe00dn8qy710kybt- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- ohkouchi@loop-az.jp-20110316014024-d505efe315lr02r5
- bzr:revno:
- 3381
- bzr:revprop:branch-nick:
- branches/version-2_5-dev
- bzr:root:
- branches/version-2_5-dev
- bzr:text-revisions:
data/Smarty/templates/default/cart/index.tpl ohkouchi@loop-az.jp-20110316013919-fe00dn8qy710kybt
data/class/pages/cart/LC_Page_Cart.php ohkouchi@loop-az.jp-20110316013919-fe00dn8qy710kybt- bzr:timestamp:
- 2011-03-16 10:40:24.736999989 +0900
- bzr:user-agent:
- bzr2.2.1+bzr-svn1.0.4
- svn:original-date:
- 2011-03-16T01:40:24.737000Z
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/cart/LC_Page_Cart.php
r20553 r20661 109 109 case 'up'://1個追加 110 110 $objCartSess->upQuantity($cart_no, $cartKey); 111 SC_Response_Ex::reload(array( ), true);111 SC_Response_Ex::reload(array('category_id' => $objFormParam->getValue('category_id')), true); 112 112 exit; 113 113 break; 114 114 case 'down'://1個減らす 115 115 $objCartSess->downQuantity($cart_no, $cartKey); 116 SC_Response_Ex::reload(array( ), true);116 SC_Response_Ex::reload(array('category_id' => $objFormParam->getValue('category_id')), true); 117 117 exit; 118 118 break; 119 119 case 'delete'://カートから削除 120 120 $objCartSess->delProduct($cart_no, $cartKey); 121 SC_Response_Ex::reload(array( ), true);121 SC_Response_Ex::reload(array('category_id' => $objFormParam->getValue('category_id')), true); 122 122 exit; 123 123 break; … … 139 139 } 140 140 141 $this->tpl_category_id = $objFormParam->getValue('category_id'); 142 141 143 // ログイン判定 142 144 if($objCustomer->isLoginSuccess(true)) { … … 149 151 // TODO: SC_CartSession::setPrevURL()利用不可。 150 152 $this->lfGetCartPrevUrl($_SESSION,$_SERVER['HTTP_REFERER']); 151 152 153 $this->tpl_prev_url = (isset($_SESSION['cart_prev_url'])) ? $_SESSION['cart_prev_url'] : ''; 153 154 } … … 171 172 $objFormParam->addParam("カートキー", 'cartKey', INT_LEN, 'n', array('NUM_CHECK',"MAX_LENGTH_CHECK")); 172 173 $objFormParam->addParam("カートナンバー", "cart_no", INT_LEN, 'n', array("NUM_CHECK", "MAX_LENGTH_CHECK")); 174 // PC版での値引き継ぎ用 175 $objFormParam->addParam("カテゴリID", "category_id", INT_LEN, 'n', array("NUM_CHECK", "MAX_LENGTH_CHECK")); 173 176 // 値の取得 174 177 $objFormParam->setParam($arrRequest);
Note: See TracChangeset
for help on using the changeset viewer.