source: branches/version-2_13_0/data/Smarty/templates/sphone/shopping/confirm.tpl @ 23126

Revision 23126, 16.6 KB checked in by m_uehara, 11 years ago (diff)

#2348 r23116 - r23125 をマージ

  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2013 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22
23<script>//<![CDATA[
24    var sent = false;
25
26    function fnCheckSubmit() {
27        if (sent) {
28            alert("只今、処理中です。しばらくお待ち下さい。");
29            return false;
30        }
31        sent = true;
32        return true;
33    }
34
35    //ご注文内容エリアの表示/非表示
36    var speed = 1000; //表示アニメのスピード(ミリ秒)
37    var stateCartconfirm = 0;
38    function fnCartconfirmToggle(areaEl, imgEl) {
39        areaEl.toggle(speed);
40        if (stateCartconfirm == 0) {
41            $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
42            stateCartconfirm = 1;
43        } else {
44            $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
45            stateCartconfirm = 0
46        }
47    }
48    //お届け先エリアの表示/非表示
49    var stateDelivconfirm = 0;
50    function fnDelivconfirmToggle(areaEl, imgEl) {
51        areaEl.toggle(speed);
52        if (stateDelivconfirm == 0) {
53            $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
54            stateDelivconfirm = 1;
55        } else {
56            $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
57            stateDelivconfirm = 0
58        }
59    }
60    //配送方法エリアの表示/非表示
61    var stateOtherconfirm = 0;
62    function fnOtherconfirmToggle(areaEl, imgEl) {
63        areaEl.toggle(speed);
64        if (stateOtherconfirm == 0) {
65            $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png");
66            stateOtherconfirm = 1;
67        } else {
68            $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png");
69            stateOtherconfirm = 0
70        }
71    }
72//]]></script>
73
74<!--▼コンテンツここから -->
75<section id="undercolumn">
76
77    <h2 class="title"><!--{$tpl_title|h}--></h2>
78
79    <!--★インフォメーション★-->
80    <div class="information end">
81        <p>下記ご注文内容でよろしければ、「ご注文完了ページへ」ボタンをクリックしてください。</p>
82    </div>
83
84    <form name="form1" id="form1" method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->shopping/confirm.php">
85        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
86        <input type="hidden" name="mode" value="confirm" />
87        <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
88
89        <h3 class="subtitle">ご注文内容</h3>
90
91        <section class="cartconfirm_area">
92            <div class="form_area">
93                <!--▼フォームボックスここから -->
94                <div class="formBox">
95                    <!--▼カートの中の商品一覧 -->
96                    <div class="cartcartconfirmarea">
97                        <!--{foreach from=$arrCartItems item=item}-->
98                            <!--▼商品 -->
99                            <div class="cartconfirmBox">
100                                <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->" style="max-width: 80px;max-height: 80px;" alt="<!--{$item.productsClass.name|h}-->" class="photoL" />
101                                <div class="cartconfirmContents">
102                                    <div>
103                                        <p><em><!--{$item.productsClass.name|h}--></em><br />
104                                        <!--{if $item.productsClass.classcategory_name1 != ""}-->
105                                                <span class="mini"><!--{$item.productsClass.class_name1|h}-->:<!--{$item.productsClass.classcategory_name1|h}--></span><br />
106                                        <!--{/if}-->
107                                        <!--{if $item.productsClass.classcategory_name2 != ""}-->
108                                                <span class="mini"><!--{$item.productsClass.class_name2|h}-->:<!--{$item.productsClass.classcategory_name2|h}--></span>
109                                        <!--{/if}-->
110                                        </p>
111                                    </div>
112                                    <ul>
113                                        <li><span class="mini">数量:</span><!--{$item.quantity|number_format}--></li>
114                                        <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li>
115                                    </ul>
116                                </div>
117                            </div>
118                            <!--▲商品 -->
119                        <!--{/foreach}-->
120                    </div>
121                    <!--▲カートの中の商品一覧 -->
122
123                    <!--★合計内訳★-->
124                    <div class="result_area">
125                        <ul>
126                            <li><span class="mini">小計 :</span><!--{$tpl_total_inctax[$cartKey]|number_format}--> 円</li>
127                            <!--{if $smarty.const.USE_POINT !== false}-->
128                                <li><span class="mini">値引き(ポイントご使用時): </span><!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
129                                -<!--{$discount|number_format|default:0}--> 円</li>
130                            <!--{/if}-->
131                            <li><span class="mini">送料 :</span><!--{$arrForm.deliv_fee|number_format}--> 円</li>
132                            <li><span class="mini">手数料 :</span><!--{$arrForm.charge|number_format}--> 円</li>
133                        </ul>
134                    </div>
135
136                    <!--★合計★-->
137                    <div class="total_area">
138                        <span class="mini">合計:</span><span class="price fb"><!--{$arrForm.payment_total|number_format}--> 円</span>
139                    </div>
140                </div><!-- /.formBox -->
141
142                <!--{* ログイン済みの会員のみ *}-->
143                <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
144                    <!--★ポイント情報★-->
145                    <div class="formBox point_confifrm">
146                        <dl>
147                            <dt>ご注文前のポイント</dt><dd><!--{$tpl_user_point|number_format|default:0}-->Pt</dd>
148                        </dl>
149                        <dl>
150                            <dt>ご使用ポイント</dt><dd>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</dd>
151                        </dl>
152                        <!--{if $arrForm.birth_point > 0}-->
153                        <dl>
154                            <dt>お誕生月ポイント</dt><dd>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</dd>
155                        </dl>
156                        <!--{/if}-->
157                        <dl>
158                            <dt>今回加算予定のポイント</dt><dd>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</dd>
159                        </dl>
160                        <dl>
161                            <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
162                            <dt>加算後のポイント</dt><dd><!--{$total_point|number_format}-->Pt</dd>
163                        </dl>
164                    </div><!-- /.formBox -->
165                <!--{/if}-->
166            </div><!-- /.form_area -->
167        </section>
168
169        <!--★注文者の確認★-->
170        <section class="customerconfirm_area">
171        <h3 class="subtitle">ご注文者</h3>
172        <div class="form_area">
173        <div class="formBox">
174            <dl class="customer_confirm">
175                <dd>
176                    <p>〒<!--{$arrForm.order_zip01|h}-->-<!--{$arrForm.order_zip02|h}--><br />
177                        <!--{$arrPref[$arrForm.order_pref]}--><!--{$arrForm.order_addr01|h}--><!--{$arrForm.order_addr02|h}--></p>
178                    <p class="deliv_name"><!--{$arrForm.order_name01|h}--> <!--{$arrForm.order_name02|h}--></p>
179                    <p><!--{$arrForm.order_tel01}-->-<!--{$arrForm.order_tel02}-->-<!--{$arrForm.order_tel03}--></p>
180                    <!--{if $arrForm.order_fax01 > 0}-->
181                        <p><!--{$arrForm.order_fax01}-->-<!--{$arrForm.order_fax02}-->-<!--{$arrForm.order_fax03}--></p>
182                    <!--{/if}-->
183                    <p><!--{$arrForm.order_email|h}--></p>
184                    <p>性別:<!--{$arrSex[$arrForm.order_sex]|h}--></p>
185                    <p>職業:<!--{$arrJob[$arrForm.order_job]|default:'(未登録)'|h}--></p>
186                    <p>生年月日:<!--{$arrForm.order_birth|regex_replace:"/ .+/":""|regex_replace:"/-/":"/"|default:'(未登録)'|h}--></p>
187                </dd>
188            </dl>
189        </div>
190        </div>
191        </section>
192
193        <!--★お届け先の確認★-->
194        <!--{if $arrShipping}-->
195            <section class="delivconfirm_area">
196                <h3 class="subtitle">お届け先</h3>
197
198                <div class="form_area">
199
200                    <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
201                        <!--▼フォームボックスここから -->
202                        <div class="formBox">
203                            <dl class="deliv_confirm">
204                                <dt>お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></dt>
205                                <dd>
206                                    <p>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--><br />
207                                        <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></p>
208                                    <p class="deliv_name"><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></p>
209                                    <p><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></p>
210                                    <!--{if $shippingItem.shipping_fax01 > 0}-->
211                                        <p><!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}--></p>
212                                    <!--{/if}-->
213                                </dd>
214                                <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
215                                    <dd>
216                                        <ul class="date_confirm">
217                                            <li><em>お届け日:</em><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></li>
218                                            <li><em>お届け時間:</em><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></li>
219                                        </ul>
220                                    </dd>
221                                <!--{/if}-->
222                            </dl>
223
224                            <!--{if $is_multiple}-->
225                                <!--▼カートの中の商品一覧 -->
226                                <div class="cartcartconfirmarea">
227                                    <!--{foreach item=item from=$shippingItem.shipment_item}-->
228                                        <!--▼商品 -->
229                                        <div class="cartconfirmBox">
230                                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
231                                                <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank">
232                                                    <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->" style="max-width: 80px;max-height: 80px;" alt="<!--{$item.productsClass.name|h}-->" class="photoL" /></a>
233                                            <!--{else}-->
234                                                <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->" style="max-width: 80px;max-height: 80px;" alt="<!--{$item.productsClass.name|h}-->" class="photoL" />
235                                            <!--{/if}-->
236                                            <div class="cartconfirmContents">
237                                                <p>
238                                                    <em><!--{$item.productsClass.name|h}--></em><br />
239                                                    <!--{if $item.productsClass.classcategory_name1 != ""}-->
240                                                            <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br />
241                                                    <!--{/if}-->
242                                                    <!--{if $item.productsClass.classcategory_name2 != ""}-->
243                                                            <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span>
244                                                    <!--{/if}-->
245                                                </p>
246                                                <ul>
247                                                    <li><span class="mini">数量:</span><!--{$item.quantity}--></li>
248                                                    <!--{* XXX デフォルトでは購入小計と誤差が出るためコメントアウト*}-->
249                                                    <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li>
250                                                </ul>
251                                            </div>
252                                        </div>
253                                        <!--▲商品 -->
254                                    <!--{/foreach}-->
255                                </div>
256                                <!--▲カートの中の商品一覧ここまで -->
257                            <!--{/if}-->
258                        </div><!-- /.formBox -->
259                    <!--{/foreach}-->
260                </div><!-- /.form_area -->
261            </section>
262        <!--{/if}-->
263
264        <!--★配送方法・お支払方法など★-->
265        <section class="otherconfirm_area">
266            <h3 class="subtitle">配送方法・お支払方法など</h3>
267
268            <div class="form_area">
269                <!--▼フォームボックスここから -->
270                <div class="formBox">
271                    <div class="innerBox">
272                        <em>配送方法</em>:<!--{$arrDeliv[$arrForm.deliv_id]|h}-->
273                    </div>
274                    <div class="innerBox">
275                        <em>お支払方法:</em><!--{$arrForm.payment_method|h}-->
276                    </div>
277                    <div class="innerBox">
278                        <em>その他お問い合わせ:</em><br />
279                        <!--{$arrForm.message|h|nl2br}-->
280                    </div>
281                </div><!-- /.formBox -->
282            </div><!-- /.form_area -->
283        </section>
284
285        <!--★ボタン★-->
286        <div class="btn_area">
287            <ul class="btn_btm">
288                <!--{if $use_module}-->
289                    <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">次へ</a></li>
290                <!--{else}-->
291                    <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">ご注文完了ページへ</a></li>
292                <!--{/if}-->
293                <li><a rel="external" href="./payment.php" class="btn_back">戻る</a></li>
294            </ul>
295        </div>
296
297    </form>
298</section>
299
300<!--{include file= 'frontparts/search_area.tpl'}-->
301
302<!--▲コンテンツここまで -->
Note: See TracBrowser for help on using the repository browser.