1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2011 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 | <script>//<![CDATA[ |
---|
23 | var send = true; |
---|
24 | |
---|
25 | function fnCheckSubmit() { |
---|
26 | if(send) { |
---|
27 | send = false; |
---|
28 | return true; |
---|
29 | } else { |
---|
30 | alert("只今、処理中です。しばらくお待ち下さい。"); |
---|
31 | return false; |
---|
32 | } |
---|
33 | } |
---|
34 | |
---|
35 | //ご注文内容エリアの表示/非表示 |
---|
36 | var speed = 1000; //表示アニメのスピード(ミリ秒) |
---|
37 | var stateCartconfirm = 0; |
---|
38 | function fnCartconfirmToggle(areaEl, imgEl) { |
---|
39 | areaEl.toggle(speed); |
---|
40 | if (stateCartconfirm == 0) { |
---|
41 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_plus.png"); |
---|
42 | stateCartconfirm = 1; |
---|
43 | } else { |
---|
44 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_minus.png"); |
---|
45 | stateCartconfirm = 0 |
---|
46 | } |
---|
47 | } |
---|
48 | //お届け先エリアの表示/非表示 |
---|
49 | var stateDelivconfirm = 0; |
---|
50 | function fnDelivconfirmToggle(areaEl, imgEl) { |
---|
51 | areaEl.toggle(speed); |
---|
52 | if (stateDelivconfirm == 0) { |
---|
53 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_plus.png"); |
---|
54 | stateDelivconfirm = 1; |
---|
55 | } else { |
---|
56 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_minus.png"); |
---|
57 | stateDelivconfirm = 0 |
---|
58 | } |
---|
59 | } |
---|
60 | //配送方法エリアの表示/非表示 |
---|
61 | var stateOtherconfirm = 0; |
---|
62 | function fnOtherconfirmToggle(areaEl, imgEl) { |
---|
63 | areaEl.toggle(speed); |
---|
64 | if (stateOtherconfirm == 0) { |
---|
65 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_plus.png"); |
---|
66 | stateOtherconfirm = 1; |
---|
67 | } else { |
---|
68 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/common/btn_minus.png"); |
---|
69 | stateOtherconfirm = 0 |
---|
70 | } |
---|
71 | } |
---|
72 | //]]></script> |
---|
73 | |
---|
74 | <!--▼コンテンツここから --> |
---|
75 | <section id="undercolumn"> |
---|
76 | |
---|
77 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
78 | |
---|
79 | <!--★インフォメーション★--> |
---|
80 | <div class="information end"> |
---|
81 | <p>下記ご注文内容でよろしければ、「ご注文完了ページへ」ボタンをクリックしてください。</p> |
---|
82 | </div> |
---|
83 | |
---|
84 | <form name="form1" id="form1" method="post" action="<!--{$smarty.const.HTTP_URL}-->shopping/confirm.php"> |
---|
85 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
86 | <input type="hidden" name="mode" value="confirm" /> |
---|
87 | <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" /> |
---|
88 | |
---|
89 | <h3 class="subtitle">ご注文内容</h3> |
---|
90 | |
---|
91 | <section class="cartconfirm_area"> |
---|
92 | <div class="form_area"> |
---|
93 | <!--▼フォームボックスここから --> |
---|
94 | <div class="formBox"> |
---|
95 | <!--▼カートの中の商品一覧 --> |
---|
96 | <div class="cartcartconfirmarea"> |
---|
97 | |
---|
98 | <!--{foreach from=$arrCartItems item=item}--> |
---|
99 | <!--▼商品 --> |
---|
100 | <div class="cartconfirmBox"> |
---|
101 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" /> |
---|
102 | <div class="cartconfirmContents"> |
---|
103 | <div> |
---|
104 | <p><em><!--{$item.productsClass.name|h}--></em><br /> |
---|
105 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
106 | <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br /> |
---|
107 | <!--{/if}--> |
---|
108 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
109 | <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span> |
---|
110 | <!--{/if}--> |
---|
111 | </p> |
---|
112 | </div> |
---|
113 | <ul> |
---|
114 | <li><span class="mini">数量:</span><!--{$item.quantity|number_format}--></li> |
---|
115 | <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li> |
---|
116 | </ul> |
---|
117 | </div> |
---|
118 | </div> |
---|
119 | <!--▲商品 --> |
---|
120 | <!--{/foreach}--> |
---|
121 | </div> |
---|
122 | <!--▲カートの中の商品一覧ここまで --> |
---|
123 | |
---|
124 | <!--★合計内訳★--> |
---|
125 | <div class="result_area"> |
---|
126 | <ul> |
---|
127 | <li><span class="mini">小計 :</span><!--{$tpl_total_inctax[$cartKey]|number_format}--> 円</li> |
---|
128 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
129 | <li><span class="mini">値引き(ポイントご使用時): </span><!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}--> |
---|
130 | -<!--{$discount|number_format|default:0}--> 円</li> |
---|
131 | <!--{/if}--> |
---|
132 | <li><span class="mini">送料 :</span><!--{$arrForm.deliv_fee|number_format}--> 円</li> |
---|
133 | <li><span class="mini">手数料 :</span><!--{$arrForm.charge|number_format}--> 円</li> |
---|
134 | </ul> |
---|
135 | </div> |
---|
136 | |
---|
137 | <!--★合計★--> |
---|
138 | <div class="total_area"> |
---|
139 | <span class="mini">合計:</span><span class="price fb"><!--{$arrForm.payment_total|number_format}--> 円</span> |
---|
140 | </div> |
---|
141 | </div><!--▲formBox --> |
---|
142 | |
---|
143 | <!--{* ログイン済みの会員のみ *}--> |
---|
144 | <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}--> |
---|
145 | <!--★ポイント情報★--> |
---|
146 | <div class="formBox point_confifrm"> |
---|
147 | <dl> |
---|
148 | <dt>ご注文前のポイント</dt><dd><!--{$tpl_user_point|number_format|default:0}-->Pt</dd> |
---|
149 | </dl> |
---|
150 | <dl> |
---|
151 | <dt>ご使用ポイント</dt><dd>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</dd> |
---|
152 | </dl> |
---|
153 | <!--{if $arrForm.birth_point > 0}--> |
---|
154 | <dl> |
---|
155 | <dt>お誕生月ポイント</dt><dd>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</dd> |
---|
156 | </dl> |
---|
157 | <!--{/if}--> |
---|
158 | <dl> |
---|
159 | <dt>今回加算予定のポイント</dt><dd>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</dd> |
---|
160 | </dl> |
---|
161 | <dl> |
---|
162 | <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}--> |
---|
163 | <dt>加算後のポイント</dt><dd><!--{$total_point|number_format}-->Pt</dd> |
---|
164 | </dl> |
---|
165 | </div><!--▲formBox --> |
---|
166 | <!--{/if}--> |
---|
167 | |
---|
168 | </div><!--▲form_area --> |
---|
169 | |
---|
170 | </section> |
---|
171 | |
---|
172 | |
---|
173 | <!--★お届け先の確認★--> |
---|
174 | <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}--> |
---|
175 | <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
176 | <section class="delivconfirm_area"> |
---|
177 | <h3 class="subtitle">お届け先</h3> |
---|
178 | |
---|
179 | <div class="form_area"> |
---|
180 | |
---|
181 | <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}--> |
---|
182 | <!--▼フォームボックスここから --> |
---|
183 | <div class="formBox"> |
---|
184 | <dl class="deliv_confirm"> |
---|
185 | <dt>お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></dt> |
---|
186 | <dd> |
---|
187 | <p>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--><br /> |
---|
188 | <!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></p> |
---|
189 | <p class="deliv_name"><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></p> |
---|
190 | <p><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></p> |
---|
191 | </dd> |
---|
192 | <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
193 | <dd> |
---|
194 | <ul class="date_confirm"> |
---|
195 | <li><em>お届け日:</em><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></li> |
---|
196 | <li><em>お届け時間:</em><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></li> |
---|
197 | </ul> |
---|
198 | </dd> |
---|
199 | <!--{/if}--> |
---|
200 | </dl> |
---|
201 | <!--▼カートの中の商品一覧 --> |
---|
202 | <div class="cartcartconfirmarea"> |
---|
203 | <!--{foreach item=item from=$shippingItem.shipment_item}--> |
---|
204 | <!--▼商品 --> |
---|
205 | <div class="cartconfirmBox"> |
---|
206 | <!--{if $item.productsClass.main_image|strlen >= 1}--> |
---|
207 | <a href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank"> |
---|
208 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" /></a> |
---|
209 | <!--{else}--> |
---|
210 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$item.productsClass.name|h}-->" width="80" height="80" class="photoL" /> |
---|
211 | <!--{/if}--> |
---|
212 | <div class="cartconfirmContents"> |
---|
213 | <p><em><!--{$item.productsClass.name|h}--></em><br /> |
---|
214 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
215 | <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br /> |
---|
216 | <!--{/if}--> |
---|
217 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
218 | <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span> |
---|
219 | <!--{/if}--> |
---|
220 | </p> |
---|
221 | <ul> |
---|
222 | <li><span class="mini">数量:</span><!--{$item.quantity}--></li> |
---|
223 | <!--{* XXX デフォルトでは購入小計と誤差が出るためコメントアウト*}--> |
---|
224 | <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li> |
---|
225 | </ul> |
---|
226 | </div> |
---|
227 | </div> |
---|
228 | <!--▲商品 --> |
---|
229 | <!--{/foreach}--> |
---|
230 | </div> |
---|
231 | <!--▲カートの中の商品一覧ここまで --> |
---|
232 | |
---|
233 | </div><!--▲formBox --> |
---|
234 | <!--{/foreach}--> |
---|
235 | |
---|
236 | </div><!--▲form_area --> |
---|
237 | </section> |
---|
238 | <!--{/if}--> |
---|
239 | |
---|
240 | |
---|
241 | <!--★配送方法・お支払方法など★--> |
---|
242 | <section class="otherconfirm_area"> |
---|
243 | <h3 class="subtitle">配送方法・お支払方法など</h3> |
---|
244 | |
---|
245 | <div class="form_area"> |
---|
246 | <!--▼フォームボックスここから --> |
---|
247 | <div class="formBox"> |
---|
248 | <div class="innerBox"> |
---|
249 | <em>配送方法</em>:<!--{$arrDeliv[$arrForm.deliv_id]|h}--> |
---|
250 | </div> |
---|
251 | <div class="innerBox"> |
---|
252 | <em>お支払方法:</em><!--{$arrForm.payment_method|h}--> |
---|
253 | </div> |
---|
254 | <div class="innerBox"> |
---|
255 | <em>その他お問い合わせ:</em><br /> |
---|
256 | <!--{$arrForm.message|h|nl2br}--> |
---|
257 | </div> |
---|
258 | |
---|
259 | </div><!--▲formBox --> |
---|
260 | </div><!--▲form_area --> |
---|
261 | </section> |
---|
262 | |
---|
263 | <!--★ボタン★--> |
---|
264 | <div class="btn_area"> |
---|
265 | <ul class="btn_btm"> |
---|
266 | <!--{if $use_module}--> |
---|
267 | <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">次へ</a></li> |
---|
268 | <!--{else}--> |
---|
269 | <li><a rel="external" href="javascript:void(document.form1.submit());" class="btn">ご注文完了ページへ</a></li> |
---|
270 | <!--{/if}--> |
---|
271 | <li><a rel="external" href="./payment.php" class="btn_back">戻る</a></li> |
---|
272 | </ul> |
---|
273 | </div> |
---|
274 | |
---|
275 | </form> |
---|
276 | </section> |
---|
277 | <!--▼検索バー --> |
---|
278 | <section id="search_area"> |
---|
279 | <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php"> |
---|
280 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
281 | <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" > |
---|
282 | </form> |
---|
283 | </section> |
---|
284 | <!--▲検索バー --> |
---|
285 | <!--▲コンテンツここまで --> |
---|