Changeset 18044


Ignore:
Timestamp:
2009/06/04 18:24:24 (15 years ago)
Author:
Seasoft
Message:

merge r17785
・取得元: version-2_4
・一部のロジックは改訂を行う
【取得元のログメッセージ】

  • EC-CUBE2.4改修 #376
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/helper/SC_Helper_DB.php

    r18023 r18044  
    398398        $objPage->tpl_total_tax = $objCartSess->getAllProductsTax($arrInfo); 
    399399        // 全商品合計ポイント 
    400         $objPage->tpl_total_point = $objCartSess->getAllProductsPoint(); 
     400        if (USE_POINT !== false) { 
     401            $objPage->tpl_total_point = $objCartSess->getAllProductsPoint(); 
     402        } 
    401403 
    402404        return $objPage; 
     
    14881490        if (!isset($arrData['charge'])) $arrData['charge'] = ""; 
    14891491        if (!isset($arrData['use_point'])) $arrData['use_point'] = ""; 
     1492        if (!isset($arrData['add_point'])) $arrData['add_point'] = 0; 
    14901493 
    14911494        // 税金の取得 
     
    15341537        $arrData['payment_total'] = $arrData['total'] - ($arrData['use_point'] * POINT_VALUE); 
    15351538        // 加算ポイントの計算 
    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                 
    15381542            if($objCustomer != "") { 
    15391543                // 誕生日月であった場合 
     
    15411545                    $arrData['birth_point'] = BIRTH_MONTH_POINT; 
    15421546                    $arrData['add_point'] += $arrData['birth_point']; 
     1547                } 
    15431548            } 
    15441549        } 
Note: See TracChangeset for help on using the changeset viewer.