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

Revision 20122, 13.2 KB checked in by nanasess, 13 years ago (diff)

#984([フロント]商品購入 リファクタリング)

  • /shopping/complete.php

#1002(携帯アドレスが登録されていないユーザーが携帯アドレス登録画面に遷移しない)

  • typo 修正
  • 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-2010 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//]]></script>
42
43<!--▼CONTENTS-->
44<div id="under02column">
45    <div id="under02column_shopping">
46         <h2 class="title"><!--{$tpl_title|h}--></h2>
47
48        <p>下記ご注文内容で送信してもよろしいでしょうか?<br />
49            よろしければ、「<!--{if $use_module}-->次へ<!--{else}-->ご注文完了ページへ<!--{/if}-->」ボタンをクリックしてください。</p>
50
51        <form name="form1" id="form1" method="post" action="?">
52            <input type="hidden" name="mode" value="confirm" />
53            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
54            <table summary="ご注文内容確認">
55                <tr>
56                    <th>商品写真</th>
57                    <th>商品名</th>
58                    <th>単価</th>
59                    <th>数量</th>
60                    <th>小計</th>
61                </tr>
62                <!--{foreach from=$arrCartItems item=item}-->
63                <tr>
64                    <td class="phototd">
65                        <a
66                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
67                                href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
68                                class="expansion"
69                                target="_blank"
70                            <!--{/if}-->
71                        >
72                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=40&amp;height=40" alt="<!--{$item.productsClass.name|h}-->" /></a>
73                    </td>
74                    <td>
75                        <ul>
76                            <li><strong><!--{$item.productsClass.name|h}--></strong></li>
77                            <!--{if $item.productsClass.classcategory_name1 != ""}-->
78                            <li><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></li>
79                            <!--{/if}-->
80                            <!--{if $item.productsClass.classcategory_name2 != ""}-->
81                            <li><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></li>
82                            <!--{/if}-->
83                        </ul>
84                 </td>
85                 <td class="pricetd">
86                     <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
87                 </td>
88                 <td><!--{$item.quantity|number_format}--></td>
89                 <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td>
90             </tr>
91             <!--{/foreach}-->
92                <tr>
93                    <th colspan="4" class="resulttd">小計</th>
94                    <td class="pricetd"><!--{$tpl_total_inctax[$cartKey]|number_format}-->円</td>
95                </tr>
96                <!--{if $smarty.const.USE_POINT !== false}-->
97                    <tr>
98                        <th colspan="4" class="resulttd">値引き(ポイントご使用時)</th>
99                        <td class="pricetd">
100                        <!--{assign var=discount value=`$arrForm.use_point*$smarty.const.POINT_VALUE`}-->
101                         -<!--{$discount|number_format|default:0}-->円</td>
102                    </tr>
103                <!--{/if}-->
104                <tr>
105                    <th colspan="4" class="resulttd">送料</th>
106                    <td class="pricetd"><!--{$arrForm.deliv_fee|number_format}-->円</td>
107                </tr>
108                <tr>
109                    <th colspan="4" class="resulttd">手数料</th>
110                    <td class="pricetd"><!--{$arrForm.charge|number_format}-->円</td>
111                </tr>
112                <tr>
113                    <th colspan="4" class="resulttd">合計</th>
114                    <td class="pricetd"><em><!--{$arrForm.payment_total|number_format}-->円</em></td>
115                </tr>
116            </table>
117
118            <!--{* ログイン済みの会員のみ *}-->
119            <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
120                <table summary="ポイント確認" class="delivname">
121                    <tr>
122                        <th>ご注文前のポイント</th>
123                        <td><!--{$tpl_user_point|number_format|default:0}-->Pt</td>
124                    </tr>
125                    <tr>
126                        <th>ご使用ポイント</th>
127                        <td>-<!--{$arrForm.use_point|number_format|default:0}-->Pt</td>
128                    </tr>
129                    <!--{if $arrForm.birth_point > 0}-->
130                    <tr>
131                        <th>お誕生月ポイント</th>
132                        <td>+<!--{$arrForm.birth_point|number_format|default:0}-->Pt</td>
133                    </tr>
134                    <!--{/if}-->
135                    <tr>
136                        <th>今回加算予定のポイント</th>
137                        <td>+<!--{$arrForm.add_point|number_format|default:0}-->Pt</td>
138                    </tr>
139                    <tr>
140                    <!--{assign var=total_point value=`$tpl_user_point-$arrForm.use_point+$arrForm.add_point`}-->
141                        <th>加算後のポイント</th>
142                        <td><!--{$total_point|number_format}-->Pt</td>
143                    </tr>
144                </table>
145            <!--{/if}-->
146            <!--{* ログイン済みの会員のみ *}-->
147           
148            <!--お届け先ここから-->
149            <!--{* 販売方法判定(ダウンロード販売のみの場合はお届け先を表示しない) *}-->
150            <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
151            <!--{foreach item=shippingItem from=$arrShipping name=shippingItem}-->
152            <h3>▼お届け先<!--{if $is_multiple}--><!--{$smarty.foreach.shippingItem.iteration}--><!--{/if}--></h3>
153           <!--{if $is_multiple}-->
154            <table summary="ご注文内容確認">
155              <tr>
156                <th>商品写真</th>
157                <th>商品名</th>
158                <th>単価</th>
159                <th>数量</th>
160                <!--{* XXX 購入小計と誤差が出るためコメントアウト
161                <th>小計</th>
162                *}-->
163              </tr>
164              <!--{foreach item=item from=$shippingItem.shipment_item}-->
165                  <tr>
166                      <td class="phototd">
167                        <a
168                            <!--{if $item.productsClass.main_image|strlen >= 1}-->
169                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"
170                                class="expansion"
171                                target="_blank"
172                            <!--{/if}-->
173                        >
174                            <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>
175                      </td>
176                      <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br />
177                          <!--{if $item.productsClass.classcategory_name1 != ""}-->
178                              <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br />
179                          <!--{/if}-->
180                          <!--{if $item.productsClass.classcategory_name2 != ""}-->
181                              <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}-->
182                          <!--{/if}-->
183                      </td>
184                      <td class="pricetd">
185                          <!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
186                      </td>
187                      <td id="quantity"><!--{$item.quantity}--></td>
188                      <!--{* XXX 購入小計と誤差が出るためコメントアウト
189                      <td class="pricetd"><!--{$item.total_inctax|number_format}-->円</td>
190                      *}-->
191                  </tr>
192              <!--{/foreach}-->
193            </table>
194           <!--{/if}-->
195
196            <table summary="お届け先確認" class="delivname">
197                <tbody>
198                    <tr>
199                        <th>お名前</th>
200                        <td><!--{$shippingItem.shipping_name01|h}--> <!--{$shippingItem.shipping_name02|h}--></td>
201                    </tr>
202                    <tr>
203                        <th>お名前(フリガナ)</th>
204                        <td><!--{$shippingItem.shipping_kana01|h}--> <!--{$shippingItem.shipping_kana02|h}--></td>
205                    </tr>
206                    <tr>
207                        <th>郵便番号</th>
208                        <td>〒<!--{$shippingItem.shipping_zip01|h}-->-<!--{$shippingItem.shipping_zip02|h}--></td>
209                    </tr>
210                    <tr>
211                        <th>住所</th>
212                        <td><!--{$arrPref[$shippingItem.shipping_pref]}--><!--{$shippingItem.shipping_addr01|h}--><!--{$shippingItem.shipping_addr02|h}--></td>
213                    </tr>
214                    <tr>
215                        <th>電話番号</th>
216                        <td><!--{$shippingItem.shipping_tel01}-->-<!--{$shippingItem.shipping_tel02}-->-<!--{$shippingItem.shipping_tel03}--></td>
217                    </tr>
218                <!--{if $cartKey != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
219                    <tr>
220                        <th>お届け日</th>
221                        <td><!--{$shippingItem.shipping_date|default:"指定なし"|h}--></td>
222                    </tr>
223                    <tr>
224                       <th>お届け時間</th>
225                        <td><!--{$shippingItem.shipping_time|default:"指定なし"|h}--></td>
226                    </tr>
227                <!--{/if}-->
228                </tbody>
229            </table>
230            <!--{/foreach}-->
231            <!--{/if}-->
232            <!--お届け先ここまで-->
233
234            <table summary="配送方法・お支払方法・お届け日時の指定・その他お問い合わせ" class="delivname">
235                <thead>
236                <tr>
237                    <th colspan="2">▼配送方法・お支払方法・お届け日時の指定・その他お問い合わせ</th>
238                </tr>
239                </thead>
240                <tbody>
241                <tr>
242                    <th>配送方法</th>
243                    <td><!--{$arrDeliv[$arrForm.deliv_id]|h}--></td>
244                </tr>
245                <tr>
246                    <th>お支払方法</th>
247                    <td><!--{$arrForm.payment_method|h}--></td>
248                </tr>
249                <tr>
250                    <th>その他お問い合わせ</th>
251                    <td><!--{$arrForm.message|h|nl2br}--></td>
252                </tr>
253                </tbody>
254            </table>
255
256            <div class="tblareabtn">
257            <a href="./payment.php" class="spbtn spbtn-medeum">
258                    戻る</a>&nbsp;
259                <!--{if $use_module}-->
260                 <input type="submit" value="次へ" class="spbtn spbtn-shopping" width="130" height="30" alt="次へ" name="next" id="next" />
261                <!--{else}-->
262                 <input type="submit" value="ご注文完了ページへ" class="spbtn spbtn-shopping" width="130" height="30" alt="ご注文完了ページへ" name="next" id="next" />
263                <!--{/if}-->
264            </div>
265        </form>
266    </div>
267</div>
268<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.