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

Revision 20670, 4.7 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各商品のお届け先を選択してください。<br>
23<br>
24
25<form method="post" action="?">
26<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
27<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
28<input type="hidden" name="line_of_num" value="<!--{$arrForm.line_of_num.value}-->" />
29<input type="hidden" name="mode" value="confirm">
30<!--{section name=line loop=$arrForm.line_of_num.value}-->
31<!--{assign var=index value=$smarty.section.line.index}-->
32<input type="hidden" name="cart_no[<!--{$index}-->]" value="<!--{$index}-->" />
33<!--{assign var=key value="product_class_id"}-->
34<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
35<!--{assign var=key value="name"}-->
36<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
37<!--{assign var=key value="class_name1"}-->
38<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
39<!--{assign var=key value="class_name2"}-->
40<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
41<!--{assign var=key value="classcategory_name1"}-->
42<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
43<!--{assign var=key value="classcategory_name2"}-->
44<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
45<!--{assign var=key value="main_image"}-->
46<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
47<!--{assign var=key value="main_list_image"}-->
48<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
49<!--{assign var=key value="price02"}-->
50<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
51
52<!--{* 商品名 *}-->◎<!--{$arrForm.name.value[$index]|h}--><br>
53<!--{* 規格名1 *}--><!--{if $arrForm.classcategory_name1.value[$index] != ""}--><!--{$arrForm.class_name1.value[$index]}-->:<!--{$arrForm.classcategory_name1.value[$index]}--><br><!--{/if}-->
54<!--{* 規格名2 *}--><!--{if $arrForm.classcategory_name2.value[$index] != ""}--><!--{$arrForm.class_name2.value[$index]}-->:<!--{$arrForm.classcategory_name2.value[$index]}--><br><!--{/if}-->
55<!--{* 販売価格 *}-->
56<!--{$arrForm.price02.value[$index]|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円<br>
57
58<!--{assign var=key value="quantity"}-->
59<!--{if $arrErr[$key][$index] != ''}-->
60<font color="#FF0000"><!--{$arrErr[$key][$index]}--></font>
61<!--{/if}-->
62数量:<input type="text" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" size="4">
63<br>
64
65<!--{assign var=key value="shipping"}-->
66お届け先:<br>
67<select name="<!--{$key}-->[<!--{$index}-->]"><!--{html_options options=$addrs selected=$arrForm[$key].value[$index]}--></select>
68<br>
69<br>
70
71<!--{/section}-->
72<center><input type="submit" value="選択したお届け先に送る"></center>
73</form>
74
75<br>
76<hr>
77
78<!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
79<form method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
80<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
81    <input type="hidden" name="ParentPage" value="<!--{$smarty.const.MULTIPLE_URLPATH}-->">
82    一覧にご希望の住所が無い場合は、お届け先を新規登録してください。<br>
83    ※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。<br><br>
84    <center><input type="submit" value="新規登録"></center>
85</form>
86<!--{/if}-->
87
88
89<form action="<!--{$smarty.const.SHOPPING_URL}-->" method="get">
90<center><input type="submit" name="return" value="戻る"></center>
91</form>
Note: See TracBrowser for help on using the repository browser.