source: branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl @ 20540

Revision 20540, 4.8 KB checked in by Seasoft, 13 years ago (diff)

#627(ソース整形・ソースコメントの改善)

  • 半SP
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<!--{* カゴの中に商品がある場合にのみ表示 *}-->
25<!--{if count($cartKeys) > 1}-->
26<font color="#FF0000"><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->
27は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。<br></font>
28<!--{/if}-->
29
30<!--{if strlen($tpl_error) != 0}-->
31<font color="#FF0000"><!--{$tpl_error|h}--></font><br>
32<!--{/if}-->
33
34<!--{if strlen($tpl_message) != 0}-->
35<!--{$tpl_message|h|nl2br}--><br>
36<!--{/if}-->
37
38<!--{if count($cartItems) > 0}-->
39<!--{foreach from=$cartKeys item=key}-->
40<form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?"  utn>
41  <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
42    <input type="hidden" name="mode" value="confirm">
43    <input type="hidden" name="cart_no" value="">
44    <input type="hidden" name="cartKey" value="<!--{$key}-->">
45    <!--ご注文内容ここから-->
46    <!--{if count($cartKeys) > 1}-->
47    <hr>
48    <!--{$arrProductType[$key]}-->
49    <hr>
50    <!--{/if}-->
51    <!--{foreach from=$cartItems[$key] item=item}-->
52        <!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br>
53        <!--{* 規格名1 *}--><!--{if $item.productsClass.classcategory_name1 != ""}--><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br><!--{/if}-->
54        <!--{* 規格名2 *}--><!--{if $item.productsClass.classcategory_name2 != ""}--><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br><!--{/if}-->
55        <!--{* 販売価格 *}-->
56        &yen;<!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
57        × <!--{$item.quantity}--><br>
58        <br>
59        <!--{* 数量 *}-->
60        数量:<!--{$item.quantity}-->
61        <a href="?mode=up&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">+</a>
62        <a href="?mode=down&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">-</a>
63        <a href="?mode=delete&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">削除</a><br>
64        <!--{* 合計 *}-->
65        小計:<!--{$item.total_inctax|number_format}-->円<br>
66        <div align="right"><a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$item.productsClass.product_id|u}-->">商品詳細へ→</a></div>
67        <HR>
68    <!--{/foreach}-->
69    商品合計:<!--{$tpl_total_inctax[$key]|number_format}-->円<br>
70    合計:<!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円<br>
71    <br>
72
73    <!--{if $arrInfo.free_rule > 0}-->
74    <!--{if $arrData[$key].deliv_fee > 0}-->
75        あと「<!--{$tpl_deliv_free[$key]|number_format}-->円」で送料無料です!!<br>
76    <!--{else}-->
77        現在、「送料無料」です!!<br>
78    <!--{/if}-->
79    <br>
80    <!--{/if}-->
81
82    <!--{if $smarty.const.USE_POINT !== false}-->
83    <!--{if $arrData[$key].birth_point > 0}-->
84        お誕生月ポイント<br>
85        <!--{$arrData[$key].birth_point|number_format}-->pt<br>
86    <!--{/if}-->
87    今回加算ポイント<br>
88    <!--{$arrData[$key].add_point|number_format}-->pt<br>
89    <br>
90    <!--{/if}-->
91
92    <center><input type="submit" value="注文する"></center>
93</form>
94
95<!--{if $tpl_prev_url != ""}-->
96    <a href="<!--{$tpl_prev_url|h}-->">[emoji:69]お買物を続ける</a>
97<!--{/if}-->
98<!--{/foreach}-->
99<!--{else}-->
100    ※現在カート内に商品はございません。<br>
101<!--{/if}-->
102
103<!--{if $smarty.const.USE_POINT !== false}-->
104<hr>
105<!--{if $tpl_login}-->
106<!--{$tpl_name|h}--> 様の、現在の所持ポイントは「<!--{$tpl_user_point|number_format|default:0}--> pt」です。<br>
107<!--{else}-->
108ポイント制度をご利用になられる場合は、会員登録後ログインしてくださいますようお願い致します。<br>
109<!--{/if}-->
110ポイントは商品購入時に1ptを<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br>
111<!--{/if}-->
112<br>
Note: See TracBrowser for help on using the repository browser.