Ignore:
Timestamp:
2009/04/11 05:19:52 (15 years ago)
Author:
Seasoft
Message:

・商品送料対応

※商品規格ごとには設定できない難がある。

・送料カスタマイズ(拡張)を容易にするためのリファクタリング

File:
1 edited

Legend:

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

    r17891 r17970  
    348348    } 
    349349 
    350     // 全商品の合計送料 
    351     function getAllProductsDelivFee() { 
    352         // ポイント合計 
    353         $total = 0; 
    354         $max = $this->getMax(); 
    355         for($i = 0; $i <= $max; $i++) { 
    356             $deliv_fee = $_SESSION[$this->key][$i]['deliv_fee']; 
    357             $quantity = $_SESSION[$this->key][$i]['quantity']; 
    358             $total+= ($deliv_fee * $quantity); 
    359         } 
    360         return $total; 
    361     } 
    362  
    363350    // カートの中の売り切れチェック 
    364351    function chkSoldOut($arrCartList, $is_mobile = false){ 
Note: See TracChangeset for help on using the changeset viewer.