Changeset 242


Ignore:
Timestamp:
2007/02/13 19:04:25 (17 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/html/frontparts/bloc/cart.php

    r17 r242  
    5151     
    5252    // Á÷ÎÁ̵ÎÁ¤Þ¤Ç¤Î¶â³Û 
    53     $deliv_free = $arrInfo['free_rule'] - $ProductsTotal; 
    54     $arrCartList[0]['free_rule'] = $arrInfo['free_rule']; 
    55     $arrCartList[0]['ProductsTotal'] = $ProductsTotal; 
    56     $arrCartList[0]['TotalQuantity'] = $TotalQuantity; 
    57     $arrCartList[0]['deliv_free'] = $deliv_free; 
     53    if($arrInfo['free_rule'] > 0){ 
     54        $deliv_free = $arrInfo['free_rule'] - $ProductsTotal; 
     55        $arrCartList[0]['free_rule'] = $arrInfo['free_rule']; 
     56        $arrCartList[0]['ProductsTotal'] = $ProductsTotal; 
     57        $arrCartList[0]['TotalQuantity'] = $TotalQuantity; 
     58        $arrCartList[0]['deliv_free'] = $deliv_free; 
     59    } 
    5860     
    5961    $objSubPage->arrCartList = $arrCartList; 
Note: See TracChangeset for help on using the changeset viewer.