Ignore:
Timestamp:
2010/12/29 17:13:17 (13 years ago)
Author:
yomoro
Message:

カートページのデザイン修正及び商品種別でのカート振り分け対応(一時)

File:
1 edited

Legend:

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

    r19785 r19789  
    8383            <table summary="商品情報"> 
    8484                <tr> 
    85                     <th>削除</th> 
    8685                    <th>商品写真</th> 
    8786                    <th>商品名</th> 
    88                     <th>単価</th> 
     87                    <th>価格</th> 
    8988                    <th>数量</th> 
    9089                    <th>小計</th> 
     
    9291                <!--{foreach from=$cartItems[$key] item=item}--> 
    9392                    <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"> 
    94                         <td><a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a> 
    95                         </td> 
    9693                        <td class="phototd"> 
    9794                        <a 
     
    10299                            <!--{/if}--> 
    103100                        > 
    104                             <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a> 
     101                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=40&amp;height=40" alt="<!--{$item.productsClass.name|h}-->" /></a><br /> 
     102<a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a> 
    105103                        </td> 
    106104                        <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br /> 
     
    112110                            <!--{/if}--> 
    113111                        </td> 
    114                         <td class="pricetd"> 
     112                        <td> 
    115113                            <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 
    116114                        </td> 
    117                         <td id="quantity"><!--{$item.quantity}--> 
    118                             <ul id="quantity_level"> 
     115                        <td><!--{$item.quantity}--> 
     116                        <br /> 
     117<ul id="quantity_level"> 
    119118                                <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/button/btn_plus.gif" width="16" height="16" alt="+" /></a></li> 
    120119                                <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/button/btn_minus.gif" width="16" height="16" alt="-" /></a></li> 
    121                             </ul> 
    122                         </td> 
    123                         <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td> 
    124                      </tr> 
     120                            </ul></td> 
     121                        <td><!--{$item.total_inctax|number_format}-->円</td> 
     122              </tr> 
    125123                 <!--{/foreach}--> 
    126124                 <tr> 
    127                      <th colspan="5" class="resulttd">小計</th> 
    128                      <td class="pricetd"><!--{$tpl_total_inctax[$key]|number_format}-->円</td> 
     125                     <th colspan="3" class="resulttd">小計</th> 
     126                     <td colspan="2" class="pricetd"><!--{$tpl_total_inctax[$key]|number_format}-->円</td> 
    129127                 </tr> 
    130128                 <tr> 
    131                      <th colspan="5" class="resulttd">合計</th> 
    132                      <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td> 
     129                     <th colspan="3" class="resulttd">合計</th> 
     130                     <td colspan="2" class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td> 
    133131                 </tr> 
    134132                 <!--{if $smarty.const.USE_POINT !== false}--> 
    135133                     <!--{if $arrData.birth_point > 0}--> 
    136134                         <tr> 
    137                              <th colspan="5" class="resulttd">お誕生月ポイント</th> 
    138                              <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> 
     135                             <th colspan="3" class="resulttd">お誕生月ポイント</th> 
     136                             <td colspan="2" class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> 
    139137                         </tr> 
    140138                     <!--{/if}--> 
    141139                     <tr> 
    142                          <th colspan="5" class="resulttd">今回加算ポイント</th> 
    143                          <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> 
     140                         <th colspan="3" class="resulttd">今回加算ポイント</th> 
     141                         <td colspan="2" class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> 
    144142                    </tr> 
    145143                <!--{/if}--> 
     
    147145            <div class="tblareabtn"> 
    148146                <!--{if strlen($tpl_error) == 0}--> 
    149                     <p>上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p> 
     147              <p>上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p> 
    150148                <!--{/if}--> 
    151149 
     
    159157                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_buystep.gif" width="130" height="30" alt="購入手続きへ" name="confirm" /> 
    160158                    <!--{/if}--> 
    161                  </p> 
    162             </div> 
     159              </p> 
     160          </div> 
    163161        </form> 
    164162    <!--{/foreach}--> 
Note: See TracChangeset for help on using the changeset viewer.