source: branches/version-2_5-dev/data/Smarty/templates/admin/products/product_class_confirm.tpl @ 19695

Revision 19695, 4.4 KB checked in by nanasess, 11 years ago (diff)

#823 商品種別によってカートを分ける

  • 商品登録時に支払方法を設定するよう修正
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<h2>確認</h2>
25<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
26<!--{foreach key=key item=item from=$arrForm}-->
27  <!--{if '/payment_ids:/'|preg_match:$key}-->
28    <!--{foreach item=paymentsVal from=$item}-->
29      <input type="hidden" name="<!--{$key}-->[]" value="<!--{$paymentsVal|escape}-->" />
30    <!--{/foreach}-->
31  <!--{else}-->
32    <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
33  <!--{/if}-->
34<!--{/foreach}-->
35
36<!--{foreach key=key item=item from=$arrHidden}-->
37<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
38<!--{/foreach}-->
39<div id="products" class="contents-main">
40
41  <!--{if $tpl_check > 0}-->
42  <table class="list">
43    <!--{assign var=class_id1 value=$arrForm.class_id1}-->
44    <!--{assign var=class_id2 value=$arrForm.class_id2}-->
45    <tr>
46      <th>規格1(<!--{$arrClass[$class_id1]|default:"未選択"}-->)</th>
47      <th>規格2(<!--{$arrClass[$class_id2]|default:"未選択"}-->)</th>
48      <th>商品コード</th>
49      <th>在庫数</th>
50      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th>
51      <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)</th>
52      <th>商品種別</th>
53      <th>支払方法</th>
54      <th>ダウンロードファイル名</th>
55      <th>ダウンロード商品用ファイルアップロード</th>
56    </tr>
57    <!--{section name=cnt loop=$tpl_count}-->
58    <!--{assign var=key value="check:`$smarty.section.cnt.iteration`"}-->
59    <!--{if $arrForm[$key] == 1}-->
60    <tr>
61      <!--{assign var=key value="name1:`$smarty.section.cnt.iteration`"}-->
62      <td><!--{$arrForm[$key]}--></td>
63      <!--{assign var=key value="name2:`$smarty.section.cnt.iteration`"}-->
64      <td><!--{$arrForm[$key]}--></td>
65      <!--{assign var=key value="product_code:`$smarty.section.cnt.iteration`"}-->
66      <td><!--{$arrForm[$key]}--></td>
67      <!--{assign var=key1 value="stock:`$smarty.section.cnt.iteration`"}-->
68      <!--{assign var=key2 value="stock_unlimited:`$smarty.section.cnt.iteration`"}-->
69      <td class="right">
70      <!--{if $arrForm[$key2] == 1}-->
71        無制限
72      <!--{else}-->
73        <!--{$arrForm[$key1]}-->
74      <!--{/if}-->
75      </td>
76      <!--{assign var=key value="price01:`$smarty.section.cnt.iteration`"}-->
77      <td class="right"><!--{$arrForm[$key]}--></td>
78      <!--{assign var=key value="price02:`$smarty.section.cnt.iteration`"}-->
79      <td class="right"><!--{$arrForm[$key]}--></td>
80      <!--{assign var=key value="product_type_id:`$smarty.section.cnt.iteration`"}-->
81      <!--{assign var=inkey value="`$arrForm[$key]`"}-->
82      <td class="right"><!--{$arrDown[$inkey]}--></td>
83      <!--{assign var=key value="payment_ids:`$smarty.section.cnt.iteration`"}-->
84      <td>
85      <!--{foreach from=$arrForm[$key] item=payment_id}-->
86        <!--{$arrPayments[$payment_id]|escape}-->&nbsp;
87      <!--{/foreach}-->
88      </td>
89      <!--{assign var=key value="down_filename:`$smarty.section.cnt.iteration`"}-->
90      <td class="right"><!--{$arrForm[$key]}--></td>
91      <!--{assign var=key value="down_realfilename:`$smarty.section.cnt.iteration`"}-->
92      <td class="right"><!--{$arrForm[$key]}--></td>
93    </tr>
94    <!--{/if}-->
95    <!--{/section}-->
96  </table>
97  <!--{else}-->
98  <div class="message">規格が選択されていません。</div>
99  <!--{/if}-->
100
101  <div class="btn">
102    <button type="button" onclick="fnModeSubmit('confirm_return','',''); return false"><span>前へ戻る</span></button>
103    <!--{if $tpl_check > 0}-->
104    <button type="submit"><span>この内容で登録する</span></button>
105    <!--{/if}-->
106  </div>
107</div>
108</form>
Note: See TracBrowser for help on using the repository browser.