Changeset 23258 for branches


Ignore:
Timestamp:
2013/10/29 22:40:33 (10 years ago)
Author:
shutta
Message:

#2434 (v2.13.0 ショップ画面:カートの数量「+」、「ー」について)
mobileとsphoneのテンプレートも対応。

Location:
branches/version-2_13-dev/data/Smarty/templates
Files:
2 edited

Legend:

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

    r23170 r23258  
    6363                    数量:<!--{$item.quantity}--> 
    6464                    <a href="?mode=up&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">+</a> 
    65                     <a href="?mode=down&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">-</a> 
     65                    <!--{if $item.quantity > 1}--> 
     66                        <a href="?mode=down&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">-</a> 
     67                    <!--{/if}--> 
    6668                    <a href="?mode=delete&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">削除</a><br> 
    6769                    <!--{* 合計 *}--> 
  • branches/version-2_13-dev/data/Smarty/templates/sphone/cart/index.tpl

    r23256 r23258  
    125125                                            <li class="quantity"><span class="mini">数量:</span><!--{$arrItem.quantity|number_format}--></li> 
    126126                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="+" onclick="eccube.fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li> 
    127                                             <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="eccube.fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li> 
     127                                            <!--{if $arrItem.quantity > 1}--> 
     128                                                <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="eccube.fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li> 
     129                                            <!--{/if}--> 
    128130                                            <li class="result"><span class="mini">小計:</span><!--{$arrItem.total_inctax|number_format}-->円</li> 
    129131                                        </ul> 
Note: See TracChangeset for help on using the changeset viewer.