Ignore:
Timestamp:
2012/04/04 04:43:31 (12 years ago)
Author:
Seasoft
Message:

#852 (税計算の改善)
#1731 (商品RSS 税金の二重加算)
#1613 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/Smarty/templates/default/products/detail.tpl

    r21609 r21708  
    106106 
    107107            <!--★通常価格★--> 
    108             <!--{if $arrProduct.price01_max > 0}--> 
     108            <!--{if $arrProduct.price01_min_inctax > 0}--> 
    109109                <dl class="normal_price"> 
    110110                    <dt><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):</dt> 
    111111                    <dd class="price"> 
    112112                        <span id="price01_default"><!--{strip}--> 
    113                             <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
    114                                 <!--{$arrProduct.price01_min|sfCalcIncTax|number_format}--> 
     113                            <!--{if $arrProduct.price01_min_inctax == $arrProduct.price01_max_inctax}--> 
     114                                <!--{$arrProduct.price01_min_inctax|number_format}--> 
    115115                            <!--{else}--> 
    116                                 <!--{$arrProduct.price01_min|sfCalcIncTax|number_format}-->~<!--{$arrProduct.price01_max|sfCalcIncTax|number_format}--> 
     116                                <!--{$arrProduct.price01_min_inctax|number_format}-->~<!--{$arrProduct.price01_max_inctax|number_format}--> 
    117117                            <!--{/if}--> 
    118118                        </span><span id="price01_dynamic"></span><!--{/strip}--> 
     
    127127                <dd class="price"> 
    128128                    <span id="price02_default"><!--{strip}--> 
    129                         <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    130                             <!--{$arrProduct.price02_min|sfCalcIncTax|number_format}--> 
     129                        <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}--> 
     130                            <!--{$arrProduct.price02_min_inctax|number_format}--> 
    131131                        <!--{else}--> 
    132                             <!--{$arrProduct.price02_min|sfCalcIncTax|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax|number_format}--> 
     132                            <!--{$arrProduct.price02_min_inctax|number_format}-->~<!--{$arrProduct.price02_max_inctax|number_format}--> 
    133133                        <!--{/if}--> 
    134134                    </span><span id="price02_dynamic"></span><!--{/strip}--> 
     
    363363                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrItem.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrItem.name|h}-->" /></a> 
    364364                    </div> 
    365                     <!--{assign var=price02_min value=`$arrItem.price02_min`}--> 
    366                     <!--{assign var=price02_max value=`$arrItem.price02_max`}--> 
     365                    <!--{assign var=price02_min value=`$arrItem.price02_min_inctax`}--> 
     366                    <!--{assign var=price02_max value=`$arrItem.price02_max_inctax`}--> 
    367367                    <div class="productContents"> 
    368368                        <h3><a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrItem.product_id|u}-->"><!--{$arrItem.name|h}--></a></h3> 
    369369                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):<span class="price"> 
    370370                            <!--{if $price02_min == $price02_max}--> 
    371                                 <!--{$price02_min|sfCalcIncTax|number_format}--> 
     371                                <!--{$price02_min|number_format}--> 
    372372                            <!--{else}--> 
    373                                 <!--{$price02_min|sfCalcIncTax|number_format}-->~<!--{$price02_max|sfCalcIncTax|number_format}--> 
     373                                <!--{$price02_min|number_format}-->~<!--{$price02_max|number_format}--> 
    374374                            <!--{/if}-->円</span></p> 
    375375                        <p class="mini"><!--{$arrItem.comment|h|nl2br}--></p> 
Note: See TracChangeset for help on using the changeset viewer.