Changeset 18044 for branches/comu-ver2/data/class/helper/SC_Helper_DB.php
- Timestamp:
- 2009/06/04 18:24:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/helper/SC_Helper_DB.php
r18023 r18044 398 398 $objPage->tpl_total_tax = $objCartSess->getAllProductsTax($arrInfo); 399 399 // 全商品合計ポイント 400 $objPage->tpl_total_point = $objCartSess->getAllProductsPoint(); 400 if (USE_POINT !== false) { 401 $objPage->tpl_total_point = $objCartSess->getAllProductsPoint(); 402 } 401 403 402 404 return $objPage; … … 1488 1490 if (!isset($arrData['charge'])) $arrData['charge'] = ""; 1489 1491 if (!isset($arrData['use_point'])) $arrData['use_point'] = ""; 1492 if (!isset($arrData['add_point'])) $arrData['add_point'] = 0; 1490 1493 1491 1494 // 税金の取得 … … 1534 1537 $arrData['payment_total'] = $arrData['total'] - ($arrData['use_point'] * POINT_VALUE); 1535 1538 // 加算ポイントの計算 1536 $arrData['add_point'] = SC_Utils::sfGetAddPoint($objPage->tpl_total_point, $arrData['use_point'], $arrInfo); 1537 1539 if (USE_POINT !== false) { 1540 $arrData['add_point'] = SC_Utils::sfGetAddPoint($objPage->tpl_total_point, $arrData['use_point'], $arrInfo); 1541 1538 1542 if($objCustomer != "") { 1539 1543 // 誕生日月であった場合 … … 1541 1545 $arrData['birth_point'] = BIRTH_MONTH_POINT; 1542 1546 $arrData['add_point'] += $arrData['birth_point']; 1547 } 1543 1548 } 1544 1549 }
Note: See TracChangeset
for help on using the changeset viewer.