source: branches/version-2_5-dev/data/Smarty/templates/mobile/shopping/confirm.tpl @ 20328

Revision 20328, 5.4 KB checked in by nanasess, 13 years ago (diff)

#812(トランザクションIDの自動生成/自動検証)

  • トランザクションIDを自動生成/自動検証するように修正
    • PC は JavaScript? で hidden フィールドを自動生成
    • モバイルは, すべての POST フォームに hidden タグを手動で埋め込み
    • 小画面は, doValidToken() をオーバーライドして個別対応
  • 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<form method="post" action="?">
25<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
26<input type="hidden" name="mode" value="confirm">
27<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
28
29下記のご注文内容に間違いはございませんか?<br>
30
31<br>
32
33【ご注文内容】<br>
34<!--{foreach from=$arrCartItems item=item}-->
35<!--{$item.productsClass.name|h}--><br>
36<!--{if $item.productsClass.classcategory_name1 != ""}--><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br><!--{/if}-->
37<!--{if $item.productsClass.classcategory_name2 != ""}--><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br><!--{/if}-->
38&nbsp;単価:<!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円<br>
39&nbsp;数量:<!--{$item.quantity|number_format}--><br>
40&nbsp;小計:<!--{$item.total_inctax|number_format}-->円<br>
41<br>
42<!--{/foreach}-->
43
44【購入金額】<br>
45商品合計:<!--{$tpl_total_inctax[$cartKey]|number_format}-->円<br>
46<!--{if $smarty.const.USE_POINT !== false}-->
47<!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
48ポイント値引き:-<!--{$discount|number_format|default:0}-->円<br>
49<!--{/if}-->
50送料:<!--{$arrForm.deliv_fee|number_format}-->円<br>
51<!--{if $arrForm.charge > 0}-->手数料:<!--{$arrForm.charge|number_format}-->円<br><!--{/if}-->
52合計:<!--{$arrForm.payment_total|number_format}-->円<br>
53(内消費税:<!--{$arrForm.tax|number_format}-->円)<br>
54
55<br>
56
57<!--{* ログイン済みの会員のみ *}-->
58<!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
59【ポイント確認】<br>
60ご注文前のポイント:<!--{$tpl_user_point|number_format|default:0}-->Pt<br>
61ご使用ポイント:-<!--{$arrForm.use_point|number_format|default:0}-->Pt<br>
62<!--{if $arrForm.birth_point > 0}-->お誕生月ポイント:+<!--{$arrForm.birth_point|number_format|default:0}-->Pt<br><!--{/if}-->
63今回加算予定のポイント:+<!--{$arrForm.add_point|number_format|default:0}-->Pt<br>
64<!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
65加算後のポイント:<!--{$total_point|number_format}-->Pt<br>
66
67<br>
68<!--{/if}-->
69
70<!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
71<!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
72【お届け先】<br>
73<!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
74<!--{if $is_multiple}-->
75    ▼お届け先<!--{$smarty.foreach.shippingItem.iteration}--><br>
76    <!--{* 複数お届け先の場合、お届け先毎の商品を表示 *}-->
77    <!--{foreach item=item from=$shippingItem.shipment_item}-->
78    <!--{$item.productsClass.name|h}--><br>
79    <!--{if $item.productsClass.classcategory_name1 != ""}--><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br><!--{/if}-->
80    <!--{if $item.productsClass.classcategory_name2 != ""}--><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br><!--{/if}-->
81    &nbsp;数量:<!--{$item.quantity}--><br>
82    <br>
83    <!--{/foreach}-->
84<!--{/if}-->
85
86〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--><br>
87<!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--><br>
88<!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--><br>
89<!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--><br>
90
91<br>
92
93お届け日:<!--{$shippingItem.shipping_date|default:"指定なし"|h}--><br>
94お届け時間:<!--{$shippingItem.shipping_time|default:"指定なし"|h}--><br>
95
96<hr>
97<!--{/foreach}-->
98<!--{/if}-->
99
100【配送方法】<br>
101<!--{$arrDeliv[$arrForm.deliv_id]|h}--><br>
102
103<br>
104
105【お支払い方法】<br>
106<!--{$arrForm.payment_method|h}--><br>
107
108<br>
109
110<!--{if $arrForm.message != ""}-->
111【その他お問い合わせ】<br>
112<!--{$arrForm.message|h|nl2br}--><br>
113<br>
114<!--{/if}-->
115
116<center><input type="submit" value="注文"></center>
117</form>
118<form action="<!--{$smarty.const.MOBILE_SHOPPING_PAYMENT_URLPATH}-->" method="post">
119<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
120<input type="hidden" name="mode" value="">
121<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
122<center><input type="submit" value="戻る"></center>
123</form>
124
125<br>
Note: See TracBrowser for help on using the repository browser.