Changeset 21062
- Timestamp:
- 2011/07/28 07:14:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/pages/cart/LC_Page_Cart.php
r20815 r21062 117 117 exit; 118 118 break; 119 case 'setQuantity'://数量変更 120 $objCartSess->setQuantity($objFormParam->getValue('quantity'), $cart_no, $cartKey); 121 SC_Response_Ex::reload(array('category_id' => $objFormParam->getValue('category_id')), true); 122 exit; 123 break; 119 124 case 'delete'://カートから削除 120 125 $objCartSess->delProduct($cart_no, $cartKey); … … 126 131 } 127 132 $this->arrInfo = SC_Helper_DB_Ex::sfGetBasisData(); 133 $totalIncTax = 0; 128 134 foreach ($this->cartKeys as $key) { 129 135 // カート集計処理 130 136 $this->tpl_message = $objCartSess->checkProducts($key); 131 137 $this->tpl_total_inctax[$key] = $objCartSess->getAllProductsTotal($key); 138 $totalIncTax += $this->tpl_total_inctax[$key]; 132 139 $this->tpl_total_tax[$key] = $objCartSess->getAllProductsTax($key); 133 140 // ポイント合計 … … 143 150 } 144 151 152 //商品の合計金額をセット 153 $this->tpl_all_total_inctax = $totalIncTax; 154 145 155 $this->tpl_category_id = $objFormParam->getValue('category_id'); 146 156 … … 178 188 // PC版での値引き継ぎ用 179 189 $objFormParam->addParam("カテゴリID", "category_id", INT_LEN, 'n', array("NUM_CHECK", "MAX_LENGTH_CHECK")); 190 // スマートフォン版での数量変更用 191 $objFormParam->addParam("数量", 'quantity', INT_LEN, 'n', array("EXIST_CHECK", "ZERO_CHECK", "NUM_CHECK", "MAX_LENGTH_CHECK")); 180 192 // 値の取得 181 193 $objFormParam->setParam($arrRequest);
Note: See TracChangeset
for help on using the changeset viewer.