[Svn-src-all:4344] [version-2_13-dev 23258] #2434 (v2.13.0 ショップ画面:カートの数量「+」、「ー」について)
shutta
admin @ mail.ec-cube.net
2013年 10月 29日 (火) 22:40:34 JST
Subversion committed to /home/svn/open 23258
http://svn.ec-cube.net/open_trac/changeset/23258
┌────────────────────────────┐
│更新者 : shutta │
│更新日時: 2013-10-29 22:40:33 +0900 (火, 29 10月 2013)│
└────────────────────────────┘
Log:
--------------------------------------------------------
#2434 (v2.13.0 ショップ画面:カートの数量「+」、「ー」について)
mobileとsphoneのテンプレートも対応。
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_13-dev/data/Smarty/templates/mobile/cart/index.tpl
U branches/version-2_13-dev/data/Smarty/templates/sphone/cart/index.tpl
変更: branches/version-2_13-dev/data/Smarty/templates/mobile/cart/index.tpl
===================================================================
--- branches/version-2_13-dev/data/Smarty/templates/mobile/cart/index.tpl 2013-10-28 05:03:49 UTC (rev 23257)
+++ branches/version-2_13-dev/data/Smarty/templates/mobile/cart/index.tpl 2013-10-29 13:40:33 UTC (rev 23258)
@@ -62,7 +62,9 @@
<!--{* 数量 *}-->
数量:<!--{$item.quantity}-->
<a href="?mode=up&cart_no=<!--{$item.cart_no}-->&cartKey=<!--{$key}-->">+</a>
- <a href="?mode=down&cart_no=<!--{$item.cart_no}-->&cartKey=<!--{$key}-->">−</a>
+ <!--{if $item.quantity > 1}-->
+ <a href="?mode=down&cart_no=<!--{$item.cart_no}-->&cartKey=<!--{$key}-->">−</a>
+ <!--{/if}-->
<a href="?mode=delete&cart_no=<!--{$item.cart_no}-->&cartKey=<!--{$key}-->">削除</a><br>
<!--{* 合計 *}-->
小計:<!--{$item.total_inctax|number_format}-->円<br>
変更: branches/version-2_13-dev/data/Smarty/templates/sphone/cart/index.tpl
===================================================================
--- branches/version-2_13-dev/data/Smarty/templates/sphone/cart/index.tpl 2013-10-28 05:03:49 UTC (rev 23257)
+++ branches/version-2_13-dev/data/Smarty/templates/sphone/cart/index.tpl 2013-10-29 13:40:33 UTC (rev 23258)
@@ -124,7 +124,9 @@
<ul>
<li class="quantity"><span class="mini">数量:</span><!--{$arrItem.quantity|number_format}--></li>
<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>
- <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>
+ <!--{if $arrItem.quantity > 1}-->
+ <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>
+ <!--{/if}-->
<li class="result"><span class="mini">小計:</span><!--{$arrItem.total_inctax|number_format}-->円</li>
</ul>
</div>
Svn-src-all メーリングリストの案内