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

Revision 21008, 4.8 KB checked in by Seasoft, 13 years ago (diff)

#1322 (単価の表示が永続化される変数と異なる)
#1328 (複数配送時に入力内容確認画面でお届け先別商品欄に単価が表示されない)
#1362 (お届け先の複数指定 数量0も保持される)
#1387 (お届け先の複数指定 数量空欄も許容したい)

  • 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
RevLine 
[19917]1<!--{*
2 * This file is part of EC-CUBE
3 *
[20764]4 * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved.
[19917]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}-->">
[20670]28<input type="hidden" name="line_of_num" value="<!--{$arrForm.line_of_num.value}-->" />
[19917]29<input type="hidden" name="mode" value="confirm">
[20670]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]}-->" />
[21008]49<!--{assign var=key value="price"}-->
[20670]50<input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$arrForm[$key].value[$index]}-->" />
[19917]51
[20670]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}-->
[19917]55<!--{* 販売価格 *}-->
[21008]56<!--{$arrForm.price.value[$index]|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円<br>
[20670]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">
[19917]63<br>
[20670]64
65<!--{assign var=key value="shipping"}-->
[21008]66<!--{if strlen($arrErr[$key][$index]) >= 1}-->
67<font color="#FF0000"><!--{$arrErr[$key][$index]}--></font>
68<!--{/if}-->
[19917]69お届け先:<br>
[21008]70<select name="<!--{$key}-->[<!--{$index}-->]">
71<!--{html_options options=$addrs selected=$arrForm[$key].value[$index]}-->
72</select>
[19917]73<br>
[20614]74<br>
75
[20670]76<!--{/section}-->
[19917]77<center><input type="submit" value="選択したお届け先に送る"></center>
78</form>
79
[20614]80<br>
81<hr>
82
[19917]83<!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
[19972]84<form method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
[20328]85<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
[19943]86    <input type="hidden" name="ParentPage" value="<!--{$smarty.const.MULTIPLE_URLPATH}-->">
[19917]87    一覧にご希望の住所が無い場合は、お届け先を新規登録してください。<br>
[20614]88    ※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。<br><br>
[19917]89    <center><input type="submit" value="新規登録"></center>
90</form>
91<!--{/if}-->
92
[20614]93
[19917]94<form action="<!--{$smarty.const.SHOPPING_URL}-->" method="get">
95<center><input type="submit" name="return" value="戻る"></center>
[20764]96</form>
Note: See TracBrowser for help on using the repository browser.