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

Revision 20670, 8.3 KB checked in by nanasess, 13 years ago (diff)

#914 (複数のお届け先選択>選択したお届け先に送る>お支払方法選択画面で戻るボタンでお届け先指定画面に戻る)

  • フォームを多次元配列に修正
  • 何回も戻るとカートの商品数が増加していたのを修正
  • 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<!--▼CONTENTS-->
23<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
24<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.fancybox/jquery.fancybox-1.3.4.pack.js"></script>
25<link rel="stylesheet" href="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
26<script type="text/javascript">//<![CDATA[
27    $(document).ready(function() {
28        $("a.expansion").fancybox({
29        });
30    });
31//]]></script>
32<div id="under02column">
33    <div id="under02column_shopping">
34        <h2 class="title"><!--{$tpl_title|h}--></h2>
35
36        <p>各商品のお届け先を選択してください。</p>
37        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
38            <p>一覧にご希望の住所が無い場合は、「新しいお届け先を追加する」より追加登録してください。</p>
39        <!--{/if}-->
40        <p>※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。</p>
41
42        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
43            <p class="addbtn">
44                <a class="kybtn" href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">新しいお届け先を追加する</a>
45            </p>
46        <!--{/if}-->
47        <form name="form1" id="form1" method="post" action="?">
48            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
49            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
50            <input type="hidden" name="line_of_num" value="<!--{$arrForm.line_of_num.value}-->" />
51            <input type="hidden" name="mode" value="confirm" />
52
53                <!--{section name=line loop=$arrForm.line_of_num.value}-->
54                <!--{assign var=index value=$smarty.section.line.index}-->
55
56                <table summary="商品情報" class="entryform">
57                <tr>
58                    <th class="multi_ph">商品写真</th>
59                    <th class="multi_pr">商品名</th>
60                    <th class="multi_nu">数量</th>
61                </tr>
62                    <tr>
63                        <td class="phototd">
64                        <a
65                            <!--{if $arrForm.main_image.value[$index]|strlen >= 1}-->
66                                href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrForm.main_image.value[$index]|sfNoImageMainList|h}-->"
67                                class="expansion"
68                                target="_blank"
69                            <!--{/if}-->
70                        >
71                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrForm.main_list_image.value[$index]|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="&lt;!--{$arrForm.name[$index]|h}--&gt;" /></a>
72                        </td>
73                        <td class="multi_pr"><!--{* 商品名 *}--><strong><!--{$arrForm.name.value[$index]|h}--></strong><br />
74                            <!--{if $arrForm.classcategory_name1.value[$index] != ""}-->
75                                <!--{$arrForm.class_name1.value[$index]|h}-->:<!--{$arrForm.classcategory_name1.value[$index]|h}--><br />
76                            <!--{/if}-->
77                            <!--{if $arrForm.classcategory_name2.value[$index] != ""}-->
78                                <!--{$arrForm.class_name2.value[$index]|h}-->:<!--{$arrForm.classcategory_name2.value[$index]|h}--><br />
79                            <!--{/if}-->
80                            <!--{$arrForm.price02.value[$index]|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
81                        </td>
82                        <td class="multi_nu">
83                          <input class="multi_nu" type="hidden" name="cart_no[<!--{$index}-->]" value="<!--{$index}-->" />
84                          <!--{assign var=key value="product_class_id"}-->
85                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
86                          <!--{assign var=key value="name"}-->
87                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
88                          <!--{assign var=key value="class_name1"}-->
89                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
90                          <!--{assign var=key value="class_name2"}-->
91                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
92                          <!--{assign var=key value="classcategory_name1"}-->
93                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
94                          <!--{assign var=key value="classcategory_name2"}-->
95                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
96                          <!--{assign var=key value="main_image"}-->
97                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
98                          <!--{assign var=key value="main_list_image"}-->
99                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
100                          <!--{assign var=key value="price02"}-->
101                          <input class="multi_nu" type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
102                          <!--{assign var=key value="quantity"}-->
103                          <!--{if $arrErr[$key][$index] != ''}-->
104                              <span class="attention"><!--{$arrErr[$key][$index]}--></span>
105                          <!--{/if}-->
106                          <input class="multi_nu" type="text" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" size="4" />
107                        </td>
108                     </tr>
109                    <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
110                      <td colspan="3"class="multi_send">お届け先</td>
111                    </tr>
112                    <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
113                      <td colspan="3">
114                        <!--{assign var=key value="shipping"}-->
115                        <select name="<!--{$key}-->[<!--{$index}-->]"><!--{html_options options=$addrs selected=$arrForm[$key].value[$index]}--></select>
116                        </td>
117                    </tr>
118                   </table><br />
119                  <!--{/section}-->
120
121            <div class="tblareabtn">
122                      <a href="<!--{$smarty.const.CART_URLPATH}-->" class="spbtn spbtn-medeum">
123                    戻る</a>&nbsp;
124                 <input type="submit" value="選択したお届け先に送る" class="spbtn spbtn-shopping" width="130" height="30" alt="選択したお届け先に送る" name="send_button" id="next" />
125            </div>
126        </form>
127    </div>
128</div>
Note: See TracBrowser for help on using the repository browser.