source: branches/version-2_12-multilang/data/Smarty/templates/default_en/shopping/confirm.tpl @ 22222

Revision 22222, 14.2 KB checked in by m_uehara, 11 years ago (diff)

#2004 郵便番号を2カラムから1カラムに変更しました。

Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2012 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("Please wait while processing is carried out.");
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="Flow of purchase procedure" /></p>
50        <h2 class="title"><!--{$tpl_title|h}--></h2>
51
52        <p class="information">Do you want to send the order details below?<br />
53            Click the "<!--{if $use_module}-->Next<!--{else}-->To order completion page<!--{/if}-->" button.</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 class="bt04" href="./payment.php">Go back</a>
64                </li>
65                    <!--{if $use_module}-->
66                <li><button class="bt02" onclick="return fnCheckSubmit();">Next</button></li>
67                   
68                    <!--{else}-->
69                <li><button class="bt02" onclick="return fnCheckSubmit();">To order completion page</button>
70                </li>
71                <!--{/if}-->
72            </ul>
73        </div>
74
75        <table summary="Confirmation of order details">
76            <col width="10%" />
77            <col width="40%" />
78            <col width="20%" />
79            <col width="10%" />
80            <col width="20%" />
81            <tr>
82                <th scope="col">Product photo</th>
83                <th scope="col">Product name</th>
84                <th scope="col">Unit price</th>
85                <th scope="col">Quantity</th>
86                <th scope="col">Subtotal</th>
87            </tr>
88            <!--{foreach from=$arrCartItems item=item}-->
89                <tr>
90                    <td class="alignC">
91                        <a
92                            <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
93                            <!--{/if}-->
94                        >
95                            <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>
96                    </td>
97                    <td>
98                        <ul>
99                            <li><strong><!--{$item.productsClass.name|h}--></strong></li>
100                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
101                            <li><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></li>
102                            <!--{/if}-->
103                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
104                            <li><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></li>
105                            <!--{/if}-->
106                        </ul>
107                    </td>
108                    <td class="alignR">
109                        &#036; <!--{$item.price|sfCalcIncTax|number_format}-->
110                    </td>
111                    <td class="alignR"><!--{$item.quantity|number_format}--></td>
112                    <td class="alignR">&#036; <!--{$item.total_inctax|number_format}--></td>
113                </tr>
114            <!--{/foreach}-->
115            <tr>
116                <th colspan="4" class="alignR" scope="row">Subtotal</th>
117                <td class="alignR">&#036; <!--{$tpl_total_inctax[$cartKey]|number_format}--></td>
118            </tr>
119            <!--{if $smarty.const.USE_POINT !== false}-->
120                <tr>
121                    <th colspan="4" class="alignR" scope="row">Discount (when using points)</th>
122                    <td class="alignR">
123                        <!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
124                        &#036; -<!--{$discount|number_format|default:0}--></td>
125                </tr>
126            <!--{/if}-->
127            <tr>
128                <th colspan="4" class="alignR" scope="row">Shipping fee</th>
129                <td class="alignR">&#036; <!--{$arrForm.deliv_fee|number_format}--></td>
130            </tr>
131            <tr>
132                <th colspan="4" class="alignR" scope="row">Processing fee</th>
133                <td class="alignR">&#036; <!--{$arrForm.charge|number_format}--></td>
134            </tr>
135            <tr>
136                <th colspan="4" class="alignR" scope="row">Total</th>
137                <td class="alignR"><span class="price">&#036; <!--{$arrForm.payment_total|number_format}--></span></td>
138            </tr>
139        </table>
140
141        <!--{* ログイン済みの会員のみ *}-->
142        <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
143            <table summary="Confirmation of points" class="delivname">
144            <col width="30%" />
145            <col width="70%" />
146                <tr>
147                    <th scope="row">Points before placing order</th>
148                    <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
149                </tr>
150                <tr>
151                    <th scope="row">Points used</th>
152                    <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
153                </tr>
154                <!--{if $arrForm.birth_point > 0}-->
155                <tr>
156                    <th scope="row">Birthday points</th>
157                    <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
158                </tr>
159                <!--{/if}-->
160                <tr>
161                    <th scope="row">Points expected to be added at this time</th>
162                    <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
163                </tr>
164                <tr>
165                <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
166                    <th scope="row">Points added</th>
167                    <td><!--{$total_point|number_format}-->Pt</td>
168                </tr>
169            </table>
170        <!--{/if}-->
171        <!--{* ログイン済みの会員のみ *}-->
172
173        <!--お届け先ここから-->
174        <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
175        <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
176        <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
177        <h3>Delivery destination<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
178        <!--{if $is_multiple}-->
179            <table summary="Confirmation of order details">
180                <col width="10%" />
181                <col width="60%" />
182                <col width="20%" />
183                <col width="10%" />
184                <tr>
185                    <th scope="col">Product photos</th>
186                    <th scope="col">Product name</th>
187                    <th scope="col">Unit price</th>
188                    <th scope="col">Quantity</th>
189                    <!--{* XXX 購入小計と誤差が出るためコメントアウト
190                    <th scope="col">Subtotal</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                            &#036; <!--{$item.price|sfCalcIncTax|number_format}-->
212                        </td>
213                        <td class="alignC"><!--{$item.quantity}--></td>
214                        <!--{* XXX 購入小計と誤差が出るためコメントアウト
215                        <td class="alignR">&#036; <!--{$item.total_inctax|number_format}--></td>
216                        *}-->
217                    </tr>
218                <!--{/foreach}-->
219            </table>
220        <!--{/if}-->
221
222        <table summary="Confirm delivery destination" class="delivname">
223            <col width="30%" />
224            <col width="70%" />
225            <tbody>
226                <tr>
227                    <th scope="row">Name</th>
228                    <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
229                </tr>
230                <tr>
231                    <th scope="row">Postal code</th>
232                    <!--{* <td><!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td> *}-->
233                    <td><!--{$shippingItem.shipping_zipcode|h}--></td>
234                </tr>
235                <tr>
236                    <th scope="row">Address</th>
237                    <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
238                </tr>
239                <tr>
240                    <th scope="row">Telephone number</th>
241                    <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
242                </tr>
243                <tr>
244                    <th scope="row">Fax number</th>
245                    <td>
246                        <!--{if $shippingItem.shipping_fax01 > 0}-->
247                            <!--{$shippingItem.shipping_fax01}-->-<!--{$shippingItem.shipping_fax02}-->-<!--{$shippingItem.shipping_fax03}-->
248                        <!--{/if}-->
249                    </td>
250                </tr>
251            <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
252                <tr>
253                    <th scope="row">Delivery date</th>
254                    <td><!--{$shippingItem.shipping_date|default:"No designation"|h}--></td>
255                </tr>
256                <tr>
257                    <th scope="row">Delivery time</th>
258                    <td><!--{$shippingItem.shipping_time|default:"No designation"|h}--></td>
259                </tr>
260            <!--{/if}-->
261            </tbody>
262        </table>
263        <!--{/foreach}-->
264        <!--{/if}-->
265        <!--お届け先ここまで-->
266
267        <h3>Delivery method/Payment method/Other inquiries</h3>
268        <table summary="Delivery method/Payment method/Other inquiries" class="delivname">
269            <col width="30%" />
270            <col width="70%" />
271            <tbody>
272            <tr>
273                <th scope="row">Delivery method</th>
274                <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
275            </tr>
276            <tr>
277                <th scope="row">Payment method</th>
278                <td><!--{$arrForm.payment_method|h}--></td>
279            </tr>
280            <tr>
281                <th scope="row">Other inquiries</th>
282                <td><!--{$arrForm.message|h|nl2br}--></td>
283            </tr>
284            </tbody>
285        </table>
286
287        <div class="btn_area">
288            <ul>
289                <li>
290                    <a class="bt04" href="./payment.php">Go back</a>
291                </li>
292                <!--{if $use_module}-->
293                <li><button onclick="return fnCheckSubmit();" class="bt02">Next</button>
294                </li>
295                <!--{else}-->
296                <li><button class="bt02" onclick="return fnCheckSubmit();">To order completion page</button>
297                </li>
298                <!--{/if}-->
299        </ul>
300
301        </div>
302        </form>
303    </div>
304</div>
Note: See TracBrowser for help on using the repository browser.