Changeset 20663


Ignore:
Timestamp:
2011/03/16 11:31:02 (13 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20110316015501-x1fqvmay077xgiyc
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/default/cart/index.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fcart%2Findex.tpl
data/Smarty/templates/default/frontparts/bloc/cart.tpl 19795@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fversion-2_5-dev%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Ffrontparts%2Fbloc%2Fcart.tpl
data/Smarty/templates/mobile/cart/index.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fmobile%2Fcart%2Findex.tpl
data/Smarty/templates/sphone/cart/index.tpl index.tpl-20101209134550-lsv02w9wikfx9cj3-2
data/class/SC_CartSession.php 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2FSC_CartSession.php
data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Cart.php 15367@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Ffrontparts%2Fbloc%2FLC_Page_FrontParts_Bloc_Cart.php
bzr:mapping-version:
v4
bzr:merge:

ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20110316023048-zgmzkjx2n491v38u
bzr:revno:
3383
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:text-revisions:

data/Smarty/templates/default/cart/index.tpl ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
data/Smarty/templates/default/frontparts/bloc/cart.tpl ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
data/Smarty/templates/mobile/cart/index.tpl ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
data/Smarty/templates/sphone/cart/index.tpl ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
data/class/SC_CartSession.php ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Cart.php ohkouchi@loop-az.jp-20110316022947-4ykxlchbpvu1bvl5
bzr:timestamp:
2011-03-16 11:30:48.121999979 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2011-03-16T02:30:48.122000Z
Message:

#1156 (送料無料条件がある場合、送料無料まであと「」円に金額が表示されない(PCのみ))

  • 金額が表示されるよう修正
  • ダウンロード商品の場合は送料のメッセージを表示しないよう修正
Location:
branches/version-2_5-dev/data
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/default/cart/index.tpl

    r20661 r20663  
    8080                <p> 
    8181                    <!--{$arrProductType[$key]}-->の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。 
    82                     <!--{if $arrInfo.free_rule > 0}--> 
    83                         <!--{if $arrData[$key].deliv_fee > 0}--> 
    84                             あと「<span class="price"<!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で送料無料です!! 
    85                         <!--{else}--> 
    86                             現在、「<span class="attention">送料無料</span>」です!! 
     82                    <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 
     83                        <!--{if $arrInfo.free_rule > 0}--> 
     84                            <!--{if $arrData[$key].deliv_fee > 0}--> 
     85                                あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で送料無料です!! 
     86                            <!--{else}--> 
     87 
     88                                現在、「<span class="attention">送料無料</span>」です!! 
     89                            <!--{/if}--> 
    8790                        <!--{/if}--> 
    8891                    <!--{/if}--> 
     
    9194                <p> 
    9295                    お買い上げ商品の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。 
    93                     <!--{if $arrInfo.free_rule > 0}--> 
    94                         <!--{if $arrData[$key].deliv_fee > 0}--> 
    95                             あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で送料無料です!! 
    96                         <!--{else}--> 
    97                             現在、「<span class="attention">送料無料</span>」です!! 
     96                    <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 
     97                        <!--{if $arrInfo.free_rule > 0}--> 
     98                            <!--{if $arrData[$key].deliv_fee > 0}--> 
     99                                あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で送料無料です!! 
     100                            <!--{else}--> 
     101                                現在、「<span class="attention">送料無料</span>」です!! 
     102                            <!--{/if}--> 
    98103                        <!--{/if}--> 
    99104                    <!--{/if}--> 
  • branches/version-2_5-dev/data/Smarty/templates/default/frontparts/bloc/cart.tpl

    r20520 r20663  
    3131                     * 複数の商品種別が存在する場合は非表示 
    3232                     *************************************}--> 
    33                 <!--{if $arrCartList.0.TotalQuantity > 0 and $arrCartList.0.free_rule > 0 and !$isMultiple}--> 
     33                <!--{if $arrCartList.0.TotalQuantity > 0 and $arrCartList.0.free_rule > 0 and !$isMultiple and !$hasDownload}--> 
    3434                <p class="postage"> 
    3535                    <!--{if $arrCartList.0.deliv_free > 0}--> 
  • branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl

    r20614 r20663  
    7373    </font> 
    7474    <br> 
    75  
     75    <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 
    7676    <!--{if $arrInfo.free_rule > 0}--> 
    7777    <!--{if $arrData[$key].deliv_fee > 0}--> 
     
    8181    <!--{/if}--> 
    8282    <br> 
     83    <!--{/if}--> 
    8384    <!--{/if}--> 
    8485 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/cart/index.tpl

    r20614 r20663  
    7777                <p> 
    7878                    <!--{$arrProductType[$key]}-->の合計金額は「<em><!--{$tpl_total_inctax[$key]|number_format}-->円</em>」です。 
    79                     <!--{if $arrInfo.free_rule > 0}--> 
    80                         <!--{if $arrData[$key].deliv_fee > 0}--> 
    81                             あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! 
    82                         <!--{else}--> 
    83                             現在、「<em>送料無料</em>」です!! 
     79                    <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 
     80                        <!--{if $arrInfo.free_rule > 0}--> 
     81                            <!--{if $arrData[$key].deliv_fee > 0}--> 
     82                                あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! 
     83                            <!--{else}--> 
     84                                現在、「<em>送料無料</em>」です!! 
     85                            <!--{/if}--> 
    8486                        <!--{/if}--> 
    8587                    <!--{/if}--> 
     
    8890                <p> 
    8991                    お買い上げ商品の合計金額は「<em><!--{$tpl_total_inctax[$key]|number_format}-->円</em>」です。 
    90                     <!--{if $arrInfo.free_rule > 0}--> 
    91                         <!--{if $arrData[$key].deliv_fee > 0}--> 
    92                             あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! 
    93                         <!--{else}--> 
    94                             現在、「<em>送料無料</em>」です!! 
    95                         <!--{/if}--> 
    96                     <!--{/if}--> 
     92                    <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> 
     93                        <!--{if $arrInfo.free_rule > 0}--> 
     94                            <!--{if $arrData[$key].deliv_fee > 0}--> 
     95                                あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! 
     96                            <!--{else}--> 
     97                                現在、「<em>送料無料</em>」です!! 
     98                            <!--{/if}--> 
     99                       <!--{/if}--> 
     100                   <!--{/if}--> 
    97101                </p> 
    98102            <!--{/if}--> 
  • branches/version-2_5-dev/data/class/SC_CartSession.php

    r20581 r20663  
    602602    } 
    603603 
     604    /** 
     605     * 複数配送扱いかどうか. 
     606     * 
     607     * @return boolean カートが複数配送扱いの場合 true 
     608     */ 
    604609    function isMultiple() { 
    605610        return count($this->getKeys()) > 1; 
    606611    } 
     612 
     613    /** 
     614     * 引数の商品種別の商品がカートに含まれるかどうか. 
     615     * 
     616     * @param integer $product_type_id 商品種別ID 
     617     * @return boolean 指定の商品種別がカートに含まれる場合 true 
     618     */ 
     619    function hasProductType($product_type_id) { 
     620        return in_array($product_type_id, $this->getKeys()); 
     621    } 
    607622} 
    608623?> 
  • branches/version-2_5-dev/data/class/pages/frontparts/bloc/LC_Page_FrontParts_Bloc_Cart.php

    r20540 r20663  
    6565        $objCart = new SC_CartSession_Ex(); 
    6666        $this->isMultiple = $objCart->isMultiple(); 
     67        $this->hasDownload = $objCart->hasProductType(PRODUCT_TYPE_DOWNLOAD); 
    6768        $this->arrCartList = $this->lfGetCartData($objCart); 
    6869    } 
Note: See TracChangeset for help on using the changeset viewer.