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

Revision 22458, 16.2 KB checked in by Seasoft, 11 years ago (diff)

#2070 (ダウンロード商品購入 以前の注文手続きで入力したお届け先情報が保持される)

  • 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 send = true;
27
28    function fnCheckSubmit() {
29        if(send) {
30            send = false;
31            return true;
32        } else {
33            alert("只今、処理中です。しばらくお待ち下さい。");
34            return false;
35        }
36    }
37
38    $(document).ready(function() {
39        $('a.expansion').facebox({
40            loadingImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/loading.gif',
41            closeImage   : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/closelabel.png'
42        });
43    });
44//]]></script>
45
46<!--CONTENTS-->
47<div id="undercolumn">
48    <div id="undercolumn_shopping">
49        <p class="flow_area"><img src="<!--{$TPL_URLPATH}-->img/picture/img_flow_03.jpg" alt="購入手続きの流れ" /></p>
50        <h2 class="title"><!--{$tpl_title|h}--></h2>
51
52        <p class="information">下記ご注文内容で送信してもよろしいでしょうか?<br />
53            よろしければ、「<!--{if $use_module}-->次へ<!--{else}-->ご注文完了ページへ<!--{/if}-->」ボタンをクリックしてください。</p>
54
55        <form name="form1" id="form1" method="post" action="?">
56        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
57        <input type="hidden" name="mode" value="confirm" />
58        <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
59
60        <div class="btn_area">
61            <ul>
62                <li>
63                    <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>
64                </li>
65                    <!--{if $use_module}-->
66                <li>
67                    <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" />
68                </li>
69                    <!--{else}-->
70                <li>
71                    <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" />
72                </li>
73                <!--{/if}-->
74            </ul>
75        </div>
76
77        <table summary="ご注文内容確認">
78            <col width="10%" />
79            <col width="40%" />
80            <col width="20%" />
81            <col width="10%" />
82            <col width="20%" />
83            <tr>
84                <th scope="col">商品写真</th>
85                <th scope="col">商品名</th>
86                <th scope="col">単価</th>
87                <th scope="col">数量</th>
88                <th scope="col">小計</th>
89            </tr>
90            <!--{foreach from=$arrCartItems item=item}-->
91                <tr>
92                    <td class="alignC">
93                        <a
94                            <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
95                            <!--{/if}-->
96                        >
97                            <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>
98                    </td>
99                    <td>
100                        <ul>
101                            <li><strong><!--{$item.productsClass.name|h}--></strong></li>
102                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
103                            <li><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></li>
104                            <!--{/if}-->
105                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
106                            <li><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></li>
107                            <!--{/if}-->
108                        </ul>
109                    </td>
110                    <td class="alignR">
111                        <!--{$item.price|sfCalcIncTax|number_format}-->円
112                    </td>
113                    <td class="alignR"><!--{$item.quantity|number_format}--></td>
114                    <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
115                </tr>
116            <!--{/foreach}-->
117            <tr>
118                <th colspan="4" class="alignR" scope="row">小計</th>
119                <td class="alignR"><!--{$tpl_total_inctax[$cartKey]|number_format}-->円</td>
120            </tr>
121            <!--{if $smarty.const.USE_POINT !== false}-->
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            <tr>
130                <th colspan="4" class="alignR" scope="row">送料</th>
131                <td class="alignR"><!--{$arrForm.deliv_fee|number_format}-->円</td>
132            </tr>
133            <tr>
134                <th colspan="4" class="alignR" scope="row">手数料</th>
135                <td class="alignR"><!--{$arrForm.charge|number_format}-->円</td>
136            </tr>
137            <tr>
138                <th colspan="4" class="alignR" scope="row">合計</th>
139                <td class="alignR"><span class="price"><!--{$arrForm.payment_total|number_format}-->円</span></td>
140            </tr>
141        </table>
142
143        <!--{* ログイン済みの会員のみ *}-->
144        <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
145            <table summary="ポイント確認" class="delivname">
146            <col width="30%" />
147            <col width="70%" />
148                <tr>
149                    <th scope="row">ご注文前のポイント</th>
150                    <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
151                </tr>
152                <tr>
153                    <th scope="row">ご使用ポイント</th>
154                    <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
155                </tr>
156                <!--{if $arrForm.birth_point > 0}-->
157                <tr>
158                    <th scope="row">お誕生月ポイント</th>
159                    <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
160                </tr>
161                <!--{/if}-->
162                <tr>
163                    <th scope="row">今回加算予定のポイント</th>
164                    <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
165                </tr>
166                <tr>
167                <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
168                    <th scope="row">加算後のポイント</th>
169                    <td><!--{$total_point|number_format}-->Pt</td>
170                </tr>
171            </table>
172        <!--{/if}-->
173        <!--{* ログイン済みの会員のみ *}-->
174
175        <!--{* ▼お届け先 *}-->
176        <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
177            <h3>お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
178            <!--{if $is_multiple}-->
179                <table summary="ご注文内容確認">
180                    <col width="10%" />
181                    <col width="60%" />
182                    <col width="20%" />
183                    <col width="10%" />
184                    <tr>
185                        <th scope="col">商品写真</th>
186                        <th scope="col">商品名</th>
187                        <th scope="col">単価</th>
188                        <th scope="col">数量</th>
189                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
190                        <th scope="col">小計</th>
191                        *}-->
192                    </tr>
193                    <!--{foreach item=item from=$shippingItem.shipment_item}-->
194                        <tr>
195                            <td class="alignC">
196                                <a
197                                    <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
198                                    <!--{/if}-->
199                                >
200                                    <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>
201                            </td>
202                            <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
203                                <!--{if $item.productsClass.classcategory_name1 != ""}-->
204                                    <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
205                                <!--{/if}-->
206                                <!--{if $item.productsClass.classcategory_name2 != ""}-->
207                                    <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
208                                <!--{/if}-->
209                            </td>
210                            <td class="alignR">
211                                <!--{$item.price|sfCalcIncTax|number_format}-->円
212                            </td>
213                            <td class="alignC"><!--{$item.quantity}--></td>
214                            <!--{* XXX 購入小計と誤差が出るためコメントアウト
215                            <td class="alignR"><!--{$item.total_inctax|number_format}-->円</td>
216                            *}-->
217                        </tr>
218                    <!--{/foreach}-->
219                </table>
220            <!--{/if}-->
221
222            <table summary="お届け先確認" class="delivname">
223                <col width="30%" />
224                <col width="70%" />
225                <tbody>
226                    <tr>
227                        <th scope="row">お名前</th>
228                        <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
229                    </tr>
230                    <tr>
231                        <th scope="row">お名前(フリガナ)</th>
232                        <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td>
233                    </tr>
234                    <tr>
235                        <th scope="row">郵便番号</th>
236                        <td>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td>
237                    </tr>
238                    <tr>
239                        <th scope="row">住所</th>
240                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
241                    </tr>
242                    <tr>
243                        <th scope="row">電話番号</th>
244                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
245                    </tr>
246                    <tr>
247                        <th scope="row">FAX番号</th>
248                        <td>
249                            <!--{if $shippingItem.shipping_fax01 > 0}-->
250                                <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
251                            <!--{/if}-->
252                        </td>
253                    </tr>
254                    <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
255                        <tr>
256                            <th scope="row">お届け日</th>
257                            <td><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></td>
258                        </tr>
259                        <tr>
260                            <th scope="row">お届け時間</th>
261                            <td><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></td>
262                        </tr>
263                    <!--{/if}-->
264                </tbody>
265            </table>
266        <!--{/foreach}-->
267        <!--{* ▲お届け先 *}-->
268
269        <h3>配送方法・お支払方法・その他お問い合わせ</h3>
270        <table summary="配送方法・お支払方法・その他お問い合わせ" class="delivname">
271            <col width="30%" />
272            <col width="70%" />
273            <tbody>
274            <tr>
275                <th scope="row">配送方法</th>
276                <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
277            </tr>
278            <tr>
279                <th scope="row">お支払方法</th>
280                <td><!--{$arrForm.payment_method|h}--></td>
281            </tr>
282            <tr>
283                <th scope="row">その他お問い合わせ</th>
284                <td><!--{$arrForm.message|h|nl2br}--></td>
285            </tr>
286            </tbody>
287        </table>
288
289        <div class="btn_area">
290            <ul>
291                <li>
292                    <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>
293                </li>
294                <!--{if $use_module}-->
295                <li>
296                    <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" />
297                </li>
298                <!--{else}-->
299                <li>
300                    <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" />
301                </li>
302                <!--{/if}-->
303        </ul>
304
305        </div>
306        </form>
307    </div>
308</div>
Note: See TracBrowser for help on using the repository browser.