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/sphone/products/detail.tpl

    r21682 r21708  
    162162                        <!--{section name=r loop=$arrRelativeCat}--> 
    163163                            <!--{section name=s loop=$arrRelativeCat[r]}--> 
    164                             <a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> 
    165                             <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 
     164                                <a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> 
     165                                <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> 
    166166                            <!--{/section}--><br /> 
    167167                        <!--{/section}--> 
     
    169169 
    170170                    <!--★通常価格★--> 
    171                     <!--{if $arrProduct.price01_max > 0}--> 
     171                    <!--{if $arrProduct.price01_max_inctax > 0}--> 
    172172                        <p class="normal_price"> 
    173173                            <span class="mini"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):</span> 
    174174                            <span id="price01_default"> 
    175                                 <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
    176                                     <!--{$arrProduct.price01_min|sfCalcIncTax|number_format}--> 
     175                                <!--{if $arrProduct.price01_min_inctax == $arrProduct.price01_max_inctax}--> 
     176                                    <!--{$arrProduct.price01_min_inctax|number_format}--> 
    177177                                <!--{else}--> 
    178                                     <!--{$arrProduct.price01_min|sfCalcIncTax|number_format}-->~<!--{$arrProduct.price01_max|sfCalcIncTax|number_format}--> 
     178                                    <!--{$arrProduct.price01_min_inctax|number_format}-->~<!--{$arrProduct.price01_max_inctax|number_format}--> 
    179179                                <!--{/if}--></span> 
    180180                            <span id="price01_dynamic"></span>円 
     
    186186                        <span class="mini"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):</span> 
    187187                        <span class="price"><span id="price02_default"> 
    188                             <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    189                                 <!--{$arrProduct.price02_min|sfCalcIncTax|number_format}--> 
     188                            <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}--> 
     189                                <!--{$arrProduct.price02_min_inctax|number_format}--> 
    190190                            <!--{else}--> 
    191                                 <!--{$arrProduct.price02_min|sfCalcIncTax|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax|number_format}--> 
     191                                <!--{$arrProduct.price02_min_inctax|number_format}-->~<!--{$arrProduct.price02_max_inctax|number_format}--> 
    192192                            <!--{/if}--> 
    193193                        </span><span id="price02_dynamic"></span>円</span> 
     
    394394                        <li id="mainImage1<!--{$smarty.section.cnt.index}-->"> 
    395395                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /> 
    396                             <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    397                             <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     396                            <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min_inctax`}--> 
     397                            <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max_inctax`}--> 
    398398                            <h3><a rel="external" href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3> 
    399399                            <p class="sale_price"><span class="price"> 
    400400                                <!--{if $price02_min == $price02_max}--> 
    401                                     <!--{$price02_min|sfCalcIncTax|number_format}--> 
     401                                    <!--{$price02_min|number_format}--> 
    402402                                <!--{else}--> 
    403                                     <!--{$price02_min|sfCalcIncTax|number_format}-->~<!--{$price02_max|sfCalcIncTax|number_format}--> 
     403                                    <!--{$price02_min|number_format}-->~<!--{$price02_max|number_format}--> 
    404404                                <!--{/if}--> 
    405405                                円</span> 
Note: See TracChangeset for help on using the changeset viewer.