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

Revision 23162, 16.5 KB checked in by pineray, 11 years ago (diff)

#2362 個人情報の確認部分のテンプレートを共通化

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