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

Revision 23013, 19.7 KB checked in by habu, 11 years ago (diff)

#2314 注文内容確認画面と受注メールに「注文者情報」を出力する

  • 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|sfCalcIncTax|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                    <tr>
122                        <th colspan="4" class="alignR" scope="row">値引き(ポイントご使用時)</th>
123                        <td class="alignR">
124                            <!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
125                            -<!--{$discount|number_format|default:0}-->円</td>
126                    </tr>
127                <!--{/if}-->
128                <tr>
129                    <th colspan="4" class="alignR" scope="row">送料</th>
130                    <td class="alignR"><!--{$arrForm.deliv_fee|number_format}-->円</td>
131                </tr>
132                <tr>
133                    <th colspan="4" class="alignR" scope="row">手数料</th>
134                    <td class="alignR"><!--{$arrForm.charge|number_format}-->円</td>
135                </tr>
136                <tr>
137                    <th colspan="4" class="alignR" scope="row">合計</th>
138                    <td class="alignR"><span class="price"><!--{$arrForm.payment_total|number_format}-->円</span></td>
139                </tr>
140            </table>
141
142            <!--{* ログイン済みの会員のみ *}-->
143            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
144                <table summary="ポイント確認" class="delivname">
145                <col width="30%" />
146                <col width="70%" />
147                    <tr>
148                        <th scope="row">ご注文前のポイント</th>
149                        <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
150                    </tr>
151                    <tr>
152                        <th scope="row">ご使用ポイント</th>
153                        <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
154                    </tr>
155                    <!--{if $arrForm.birth_point > 0}-->
156                    <tr>
157                        <th scope="row">お誕生月ポイント</th>
158                        <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
159                    </tr>
160                    <!--{/if}-->
161                    <tr>
162                        <th scope="row">今回加算予定のポイント</th>
163                        <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
164                    </tr>
165                    <tr>
166                    <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
167                        <th scope="row">加算後のポイント</th>
168                        <td><!--{$total_point|number_format}-->Pt</td>
169                    </tr>
170                </table>
171            <!--{/if}-->
172            <!--{* ログイン済みの会員のみ *}-->
173
174            <!--{* ▼注文者 *}-->
175            <h3>ご注文者</h3>
176            <table summary="ご注文者" class="customer">
177                <col width="30%" />
178                <col width="70%" />
179                <tbody>
180                    <tr>
181                        <th scope="row">お名前</th>
182                        <td><!--{$arrForm.order_name01|h}--> <!--{$arrForm.order_name02|h}--></td>
183                    </tr>
184                    <tr>
185                        <th scope="row">お名前(フリガナ)</th>
186                        <td><!--{$arrForm.order_kana01|h}--> <!--{$arrForm.order_kana02|h}--></td>
187                    </tr>
188                    <tr>
189                        <th scope="row">郵便番号</th>
190                        <td>〒<!--{$arrForm.order_zip01|h}-->-<!--{$arrForm.order_zip02|h}--></td>
191                    </tr>
192                    <tr>
193                        <th scope="row">住所</th>
194                        <td><!--{$arrPref[$arrForm.order_pref]}--><!--{$arrForm.order_addr01|h}--><!--{$arrForm.order_addr02|h}--></td>
195                    </tr>
196                    <tr>
197                        <th scope="row">電話番号</th>
198                        <td><!--{$arrForm.order_tel01}-->-<!--{$arrForm.order_tel02}-->-<!--{$arrForm.order_tel03}--></td>
199                    </tr>
200                    <tr>
201                        <th scope="row">FAX番号</th>
202                        <td>
203                            <!--{if $arrForm.order_fax01 > 0}-->
204                                <!--{$arrForm.order_fax01}-->-<!--{$arrForm.order_fax02}-->-<!--{$arrForm.order_fax03}-->
205                            <!--{/if}-->
206                        </td>
207                    </tr>
208                    <tr>
209                        <th scope="row">メールアドレス</th>
210                        <td><!--{$arrForm.order_email|h}--></td>
211                    </tr>
212                    <tr>
213                        <th scope="row">性別</th>
214                        <td><!--{$arrSex[$arrForm.order_sex]|h}--></td>
215                    </tr>
216                    <tr>
217                        <th scope="row">職業</th>
218                        <td><!--{$arrJob[$arrForm.order_job]|default:'(未登録)'|h}--></td>
219                    </tr>
220                    <tr>
221                        <th scope="row">生年月日</th>
222                        <td>
223                            <!--{$arrForm.order_birth|regex_replace:"/ .+/":""|regex_replace:"/-/":"/"|default:'(未登録)'|h}-->
224                        </td>
225                    </tr>
226                </tbody>
227            </table>
228
229            <!--{* ▼お届け先 *}-->
230            <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
231                <h3>お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
232                <!--{if $is_multiple}-->
233                    <table summary="ご注文内容確認">
234                        <col width="10%" />
235                        <col width="60%" />
236                        <col width="20%" />
237                        <col width="10%" />
238                        <tr>
239                            <th scope="col">商品写真</th>
240                            <th scope="col">商品名</th>
241                            <th scope="col">単価</th>
242                            <th scope="col">数量</th>
243                            <!--{* XXX 購入小計と誤差が出るためコメントアウト
244                            <th scope="col">小計</th>
245                            *}-->
246                        </tr>
247                        <!--{foreach item=item from=$shippingItem.shipment_item}-->
248                            <tr>
249                                <td class="alignC">
250                                    <a
251                                        <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
252                                        <!--{/if}-->
253                                    >
254                                        <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>
255                                </td>
256                                <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
257                                    <!--{if $item.productsClass.classcategory_name1 != ""}-->
258                                        <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
259                                    <!--{/if}-->
260                                    <!--{if $item.productsClass.classcategory_name2 != ""}-->
261                                        <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
262                                    <!--{/if}-->
263                                </td>
264                                <td class="alignR">
265                                    <!--{$item.price|sfCalcIncTax|number_format}-->円
266                                </td>
267                                <td class="alignC"><!--{$item.quantity}--></td>
268                                <!--{* XXX 購入小計と誤差が出るためコメントアウト
269                                <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
270                                *}-->
271                            </tr>
272                        <!--{/foreach}-->
273                    </table>
274                <!--{/if}-->
275
276                <table summary="お届け先確認" class="delivname">
277                    <col width="30%" />
278                    <col width="70%" />
279                    <tbody>
280                        <tr>
281                            <th scope="row">お名前</th>
282                            <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
283                        </tr>
284                        <tr>
285                            <th scope="row">お名前(フリガナ)</th>
286                            <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td>
287                        </tr>
288                        <tr>
289                            <th scope="row">郵便番号</th>
290                            <td>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td>
291                        </tr>
292                        <tr>
293                            <th scope="row">住所</th>
294                            <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
295                        </tr>
296                        <tr>
297                            <th scope="row">電話番号</th>
298                            <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
299                        </tr>
300                        <tr>
301                            <th scope="row">FAX番号</th>
302                            <td>
303                                <!--{if $shippingItem.shipping_fax01 > 0}-->
304                                    <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
305                                <!--{/if}-->
306                            </td>
307                        </tr>
308                        <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
309                            <tr>
310                                <th scope="row">お届け日</th>
311                                <td><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></td>
312                            </tr>
313                            <tr>
314                                <th scope="row">お届け時間</th>
315                                <td><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></td>
316                            </tr>
317                        <!--{/if}-->
318                    </tbody>
319                </table>
320            <!--{/foreach}-->
321            <!--{* ▲お届け先 *}-->
322
323            <h3>配送方法・お支払方法・その他お問い合わせ</h3>
324            <table summary="配送方法・お支払方法・その他お問い合わせ" class="delivname">
325                <col width="30%" />
326                <col width="70%" />
327                <tbody>
328                <tr>
329                    <th scope="row">配送方法</th>
330                    <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
331                </tr>
332                <tr>
333                    <th scope="row">お支払方法</th>
334                    <td><!--{$arrForm.payment_method|h}--></td>
335                </tr>
336                <tr>
337                    <th scope="row">その他お問い合わせ</th>
338                    <td><!--{$arrForm.message|h|nl2br}--></td>
339                </tr>
340                </tbody>
341            </table>
342
343            <div class="btn_area">
344                <ul>
345                    <li>
346                        <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>
347                    </li>
348                    <!--{if $use_module}-->
349                    <li>
350                        <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" />
351                    </li>
352                    <!--{else}-->
353                    <li>
354                        <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" />
355                    </li>
356                    <!--{/if}-->
357                </ul>
358            </div>
359        </form>
360    </div>
361</div>
Note: See TracBrowser for help on using the repository browser.