source: branches/version-2_11-dev/data/Smarty/templates/sphone/shopping/confirm.tpl @ 21094

Revision 21094, 12.6 KB checked in by 468, 13 years ago (diff)

#1413 スマートフォン版テンプレートファイル修正対応

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