source: branches/version-2_13-dev/data/Smarty/templates/default/shopping/confirm.tpl @ 23024

Revision 23024, 20.6 KB checked in by AMUAMU, 11 years ago (diff)

#2323 (税率対応)
#2235 (越境ECを想定した機能の追加)
#2234 (非会員お客様情報入力テンプレートと機能の共通化)
#2324 (会員登録、注文フォームに「会社名」フィールドを足す)
などの修正

  • 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 type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.js"></script>
24<link rel="stylesheet" type="text/css" href="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.css" media="screen" />
25<script type="text/javascript">//<![CDATA[
26    var sent = false;
27
28    function fnCheckSubmit() {
29        if (sent) {
30            alert("只今、処理中です。しばらくお待ち下さい。");
31            return false;
32        }
33        sent = true;
34        return true;
35    }
36
37    $(document).ready(function() {
38        $('a.expansion').facebox({
39            loadingImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/loading.gif',
40            closeImage   : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/closelabel.png'
41        });
42    });
43//]]></script>
44
45<!--CONTENTS-->
46<div id="undercolumn">
47    <div id="undercolumn_shopping">
48        <p class="flow_area"><img src="<!--{$TPL_URLPATH}-->img/picture/img_flow_03.jpg" alt="購入手続きの流れ" /></p>
49        <h2 class="title"><!--{$tpl_title|h}--></h2>
50
51        <p class="information">下記ご注文内容で送信してもよろしいでしょうか?<br />
52            よろしければ、「<!--{if $use_module}-->次へ<!--{else}-->ご注文完了ページへ<!--{/if}-->」ボタンをクリックしてください。</p>
53
54        <form name="form1" id="form1" method="post" action="?">
55            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
56            <input type="hidden" name="mode" value="confirm" />
57            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
58
59            <div class="btn_area">
60                <ul>
61                    <li>
62                        <a href="./payment.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg', 'back04-top')" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg', 'back04-top')"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back04-top" id="back04-top" /></a>
63                    </li>
64                        <!--{if $use_module}-->
65                    <li>
66                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next-top" id="next-top" />
67                    </li>
68                        <!--{else}-->
69                    <li>
70                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg" alt="ご注文完了ページへ" name="next-top" id="next-top" />
71                    </li>
72                    <!--{/if}-->
73                </ul>
74            </div>
75
76            <table summary="ご注文内容確認">
77                <col width="10%" />
78                <col width="40%" />
79                <col width="20%" />
80                <col width="10%" />
81                <col width="20%" />
82                <tr>
83                    <th scope="col">商品写真</th>
84                    <th scope="col">商品名</th>
85                    <th scope="col">単価</th>
86                    <th scope="col">数量</th>
87                    <th scope="col">小計</th>
88                </tr>
89                <!--{foreach from=$arrCartItems item=item}-->
90                    <tr>
91                        <td class="alignC">
92                            <a
93                                <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
94                                <!--{/if}-->
95                            >
96                                <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a>
97                        </td>
98                        <td>
99                            <ul>
100                                <li><strong><!--{$item.productsClass.name|h}--></strong></li>
101                                <!--{if $item.productsClass.classcategory_name1 != ""}-->
102                                <li><!--{$item.productsClass.class_name1|h}-->:<!--{$item.productsClass.classcategory_name1|h}--></li>
103                                <!--{/if}-->
104                                <!--{if $item.productsClass.classcategory_name2 != ""}-->
105                                <li><!--{$item.productsClass.class_name2|h}-->:<!--{$item.productsClass.classcategory_name2|h}--></li>
106                                <!--{/if}-->
107                            </ul>
108                        </td>
109                        <td class="alignR">
110                            <!--{$item.price_inctax|number_format}-->円
111                        </td>
112                        <td class="alignR"><!--{$item.quantity|number_format}--></td>
113                        <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
114                    </tr>
115                <!--{/foreach}-->
116                <tr>
117                    <th colspan="4" class="alignR" scope="row">小計</th>
118                    <td class="alignR"><!--{$tpl_total_inctax[$cartKey]|number_format}-->円</td>
119                </tr>
120                <!--{if $smarty.const.USE_POINT !== false}-->
121                    <!--{if $arrForm.use_point > 0}-->
122                    <tr>
123                        <th colspan="4" class="alignR" scope="row">値引き(ポイントご使用時)</th>
124                        <td class="alignR">
125                            <!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
126                            -<!--{$discount|number_format|default:0}-->円</td>
127                    </tr>
128                    <!--{/if}-->
129                <!--{/if}-->
130                <tr>
131                    <th colspan="4" class="alignR" scope="row">送料</th>
132                    <td class="alignR"><!--{$arrForm.deliv_fee|number_format}-->円</td>
133                </tr>
134                <tr>
135                    <th colspan="4" class="alignR" scope="row">手数料</th>
136                    <td class="alignR"><!--{$arrForm.charge|number_format}-->円</td>
137                </tr>
138                <tr>
139                    <th colspan="4" class="alignR" scope="row">合計</th>
140                    <td class="alignR"><span class="price"><!--{$arrForm.payment_total|number_format}-->円</span></td>
141                </tr>
142            </table>
143
144            <!--{* ログイン済みの会員のみ *}-->
145            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
146                <table summary="ポイント確認" class="delivname">
147                <col width="30%" />
148                <col width="70%" />
149                    <tr>
150                        <th scope="row">ご注文前のポイント</th>
151                        <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
152                    </tr>
153                    <tr>
154                        <th scope="row">ご使用ポイント</th>
155                        <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
156                    </tr>
157                    <!--{if $arrForm.birth_point > 0}-->
158                    <tr>
159                        <th scope="row">お誕生月ポイント</th>
160                        <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
161                    </tr>
162                    <!--{/if}-->
163                    <tr>
164                        <th scope="row">今回加算予定のポイント</th>
165                        <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
166                    </tr>
167                    <tr>
168                    <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
169                        <th scope="row">加算後のポイント</th>
170                        <td><!--{$total_point|number_format}-->Pt</td>
171                    </tr>
172                </table>
173            <!--{/if}-->
174            <!--{* ログイン済みの会員のみ *}-->
175
176            <!--{* ▼注文者 *}-->
177            <h3>ご注文者</h3>
178            <table summary="ご注文者" class="customer">
179                <col width="30%" />
180                <col width="70%" />
181                <tbody>
182                    <tr>
183                        <th scope="row">お名前</th>
184                        <td><!--{$arrForm.order_name01|h}--> <!--{$arrForm.order_name02|h}--></td>
185                    </tr>
186                    <tr>
187                        <th scope="row">お名前(フリガナ)</th>
188                        <td><!--{$arrForm.order_kana01|h}--> <!--{$arrForm.order_kana02|h}--></td>
189                    </tr>
190                    <tr>
191                        <th scope="row">会社名</th>
192                        <td><!--{$arrForm.order_company_name|h}--></td>
193                    </tr>
194                    <!--{if $smarty.const.FORM_COUNTRY_ENABLE}-->
195                    <tr>
196                        <th scope="row">国</th>
197                        <td><!--{$arrCountry[$arrForm.order_country_id]|h}--></td>
198                    </tr>
199                    <tr>
200                        <th scope="row">ZIPCODE</th>
201                        <td><!--{$arrForm.order_zipcode|h}--></td>
202                    </tr>
203                    <!--{/if}-->
204                    <tr>
205                        <th scope="row">郵便番号</th>
206                        <td>〒<!--{$arrForm.order_zip01|h}-->-<!--{$arrForm.order_zip02|h}--></td>
207                    </tr>
208                    <tr>
209                        <th scope="row">住所</th>
210                        <td><!--{$arrPref[$arrForm.order_pref]}--><!--{$arrForm.order_addr01|h}--><!--{$arrForm.order_addr02|h}--></td>
211                    </tr>
212                    <tr>
213                        <th scope="row">電話番号</th>
214                        <td><!--{$arrForm.order_tel01}-->-<!--{$arrForm.order_tel02}-->-<!--{$arrForm.order_tel03}--></td>
215                    </tr>
216                    <tr>
217                        <th scope="row">FAX番号</th>
218                        <td>
219                            <!--{if $arrForm.order_fax01 > 0}-->
220                                <!--{$arrForm.order_fax01}-->-<!--{$arrForm.order_fax02}-->-<!--{$arrForm.order_fax03}-->
221                            <!--{/if}-->
222                        </td>
223                    </tr>
224                    <tr>
225                        <th scope="row">メールアドレス</th>
226                        <td><!--{$arrForm.order_email|h}--></td>
227                    </tr>
228                    <tr>
229                        <th scope="row">性別</th>
230                        <td><!--{$arrSex[$arrForm.order_sex]|h}--></td>
231                    </tr>
232                    <tr>
233                        <th scope="row">職業</th>
234                        <td><!--{$arrJob[$arrForm.order_job]|default:'(未登録)'|h}--></td>
235                    </tr>
236                    <tr>
237                        <th scope="row">生年月日</th>
238                        <td>
239                            <!--{$arrForm.order_birth|regex_replace:"/ .+/":""|regex_replace:"/-/":"/"|default:'(未登録)'|h}-->
240                        </td>
241                    </tr>
242                </tbody>
243            </table>
244
245            <!--{* ▼お届け先 *}-->
246            <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
247                <h3>お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
248                <!--{if $is_multiple}-->
249                    <table summary="ご注文内容確認">
250                        <col width="10%" />
251                        <col width="60%" />
252                        <col width="20%" />
253                        <col width="10%" />
254                        <tr>
255                            <th scope="col">商品写真</th>
256                            <th scope="col">商品名</th>
257                            <th scope="col">数量</th>
258                            <th scope="col">小計</th>
259                        </tr>
260                        <!--{foreach item=item from=$shippingItem.shipment_item}-->
261                            <tr>
262                                <td class="alignC">
263                                    <a
264                                        <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
265                                        <!--{/if}-->
266                                    >
267                                        <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a>
268                                </td>
269                                <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
270                                    <!--{if $item.productsClass.classcategory_name1 != ""}-->
271                                        <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
272                                    <!--{/if}-->
273                                    <!--{if $item.productsClass.classcategory_name2 != ""}-->
274                                        <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
275                                    <!--{/if}-->
276                                </td>
277                                <td class="alignC"><!--{$item.quantity}--></td>
278                                <td class="alignR">
279                                    <!--{$item.total_inctax|number_format}-->円
280                                </td>
281                            </tr>
282                        <!--{/foreach}-->
283                    </table>
284                <!--{/if}-->
285
286                <table summary="お届け先確認" class="delivname">
287                    <col width="30%" />
288                    <col width="70%" />
289                    <tbody>
290                        <tr>
291                            <th scope="row">お名前</th>
292                            <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
293                        </tr>
294                        <tr>
295                            <th scope="row">お名前(フリガナ)</th>
296                            <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td>
297                        </tr>
298                        <tr>
299                            <th scope="row">会社名</th>
300                            <td><!--{$shippingItem.shipping_company_name|h}--></td>
301                        </tr>
302                        <!--{if $smarty.const.FORM_COUNTRY_ENABLE}-->
303                        <tr>
304                            <th scope="row">国</th>
305                            <td><!--{$arrCountry[$shippingItem.shipping_country_id]|h}--></td>
306                        </tr>
307                        <tr>
308                            <th scope="row">ZIPCODE</th>
309                            <td><!--{$shippingItem.shipping_zipcode|h}--></td>
310                        </tr>
311                        <!--{/if}-->
312                        <tr>
313                            <th scope="row">郵便番号</th>
314                            <td>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td>
315                        </tr>
316                        <tr>
317                            <th scope="row">住所</th>
318                            <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
319                        </tr>
320                        <tr>
321                            <th scope="row">電話番号</th>
322                            <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
323                        </tr>
324                        <tr>
325                            <th scope="row">FAX番号</th>
326                            <td>
327                                <!--{if $shippingItem.shipping_fax01 > 0}-->
328                                    <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
329                                <!--{/if}-->
330                            </td>
331                        </tr>
332                        <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
333                            <tr>
334                                <th scope="row">お届け日</th>
335                                <td><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></td>
336                            </tr>
337                            <tr>
338                                <th scope="row">お届け時間</th>
339                                <td><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></td>
340                            </tr>
341                        <!--{/if}-->
342                    </tbody>
343                </table>
344            <!--{/foreach}-->
345            <!--{* ▲お届け先 *}-->
346
347            <h3>配送方法・お支払方法・その他お問い合わせ</h3>
348            <table summary="配送方法・お支払方法・その他お問い合わせ" class="delivname">
349                <col width="30%" />
350                <col width="70%" />
351                <tbody>
352                <tr>
353                    <th scope="row">配送方法</th>
354                    <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
355                </tr>
356                <tr>
357                    <th scope="row">お支払方法</th>
358                    <td><!--{$arrForm.payment_method|h}--></td>
359                </tr>
360                <tr>
361                    <th scope="row">その他お問い合わせ</th>
362                    <td><!--{$arrForm.message|h|nl2br}--></td>
363                </tr>
364                </tbody>
365            </table>
366
367            <div class="btn_area">
368                <ul>
369                    <li>
370                        <a href="./payment.php" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back<!--{$key}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back<!--{$key}-->');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back<!--{$key}-->" /></a>
371                    </li>
372                    <!--{if $use_module}-->
373                    <li>
374                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="次へ" name="next" id="next" />
375                    </li>
376                    <!--{else}-->
377                    <li>
378                        <input type="image" onclick="return fnCheckSubmit();" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_order_complete.jpg" alt="ご注文完了ページへ"  name="next" id="next" />
379                    </li>
380                    <!--{/if}-->
381                </ul>
382            </div>
383        </form>
384    </div>
385</div>
Note: See TracBrowser for help on using the repository browser.