Changeset 21527 for branches/version-2_12-dev/data/class/SC_CartSession.php
- Timestamp:
- 2012/02/17 02:42:21 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/SC_CartSession.php
r21516 r21527 113 113 $max = $this->getMax($productTypeId); 114 114 for ($i = 0; $i <= $max; $i++) { 115 if (isset($this->cartSession[$productTypeId][$i]['id'])116 && $this->cartSession[$productTypeId][$i]['id'] == $id) {117 115 if (isset($this->cartSession[$productTypeId][$i]['id']) 116 && $this->cartSession[$productTypeId][$i]['id'] == $id 117 ) { 118 118 // 税込み合計 119 119 $price = $this->cartSession[$productTypeId][$i]['price']; … … 131 131 $max = $this->getMax($productTypeId); 132 132 for ($i = 0; $i <= $max; $i++) { 133 if(isset($this->cartSession[$productTypeId][$i]['id']) 134 && $this->cartSession[$productTypeId][$i]['id'] == $id) { 133 if (isset($this->cartSession[$productTypeId][$i]['id']) 134 && $this->cartSession[$productTypeId][$i]['id'] == $id 135 ) { 135 136 $this->cartSession[$productTypeId][$i][$key] = $val; 136 137 } … … 336 337 $arrRet = array(); 337 338 for ($i = 0; $i <= $max; $i++) { 338 if (isset($this->cartSession[$productTypeId][$i]['cart_no'])339 && $this->cartSession[$productTypeId][$i]['cart_no'] != '') {339 if (isset($this->cartSession[$productTypeId][$i]['cart_no']) 340 && $this->cartSession[$productTypeId][$i]['cart_no'] != '') { 340 341 341 342 // 商品情報は常に取得 … … 346 347 $this->cartSession[$productTypeId][$i]['price'] = $price; 347 348 348 $this->cartSession[$productTypeId][$i]['point_rate'] =349 $this->cartSession[$productTypeId][$i]['productsClass']['point_rate'];349 $this->cartSession[$productTypeId][$i]['point_rate'] 350 = $this->cartSession[$productTypeId][$i]['productsClass']['point_rate']; 350 351 351 352 $quantity = $this->cartSession[$productTypeId][$i]['quantity']; … … 621 622 */ 622 623 function calculate($productTypeId, &$objCustomer, $use_point = 0, 623 $deliv_pref = '', $charge = 0, $discount = 0, $deliv_id = 0) { 624 $deliv_pref = '', $charge = 0, $discount = 0, $deliv_id = 0 625 ) { 624 626 $objDb = new SC_Helper_DB_Ex(); 625 627 … … 660 662 // 加算ポイントの計算 661 663 if (USE_POINT !== false) { 662 $results['add_point'] = SC_Helper_DB_Ex::sfGetAddPoint($total_point, 663 $use_point); 664 $results['add_point'] = SC_Helper_DB_Ex::sfGetAddPoint($total_point, $use_point); 664 665 if ($objCustomer != '') { 665 666 // 誕生日月であった場合
Note: See TracChangeset
for help on using the changeset viewer.
