source: branches/comu-ver2/data/Smarty/templates/default/admin/products/confirm.tpl @ 17970

Revision 17970, 7.9 KB checked in by Seasoft, 15 years ago (diff)

・商品送料対応

※商品規格ごとには設定できない難がある。

・送料カスタマイズ(拡張)を容易にするためのリファクタリング

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2008 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  <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
28  <!--{/foreach}-->
29  <div id="products" class="contents-main">
30
31  <table>
32    <tr>
33      <th>商品名</th>
34      <td>
35      <!--{$arrForm.name|escape}-->
36      </td>
37    </tr>
38    <tr>
39      <th>商品カテゴリ</th>
40      <td>
41      <!--{section name=cnt loop=$arrCategory_id}-->
42        <!--{assign var=key value=$arrCategory_id[cnt]}-->
43        <!--{$arrCatList[$key]|strip|sfTrim}--><br />
44      <!--{/section}-->
45      </td>
46    </tr>
47    <tr>
48      <th>公開・非公開</th>
49      <td>
50      <!--{$arrDISP[$arrForm.status]}-->
51      </td>
52    </tr>
53    <tr>
54      <th>商品ステータス</th>
55      <td>
56      <!--{section name=cnt loop=$arrForm.product_flag|count_characters}-->
57        <!--{if $arrForm.product_flag[cnt] == "1"}--><!--{assign var=key value="`$smarty.section.cnt.iteration`"}--><img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->"><!--{/if}-->
58      <!--{/section}-->
59      </td>
60    </tr>
61
62    <!--{if $tpl_nonclass == true}-->
63    <tr>
64      <th>商品コード</th>
65      <td>
66      <!--{$arrForm.product_code|escape}-->
67      </td>
68    </tr>
69    <tr>
70      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th>
71      <td>
72      <!--{$arrForm.price01|escape}-->
73      円</td>
74    </tr>
75    <tr>
76      <th><!--{$smarty.const.SALE_PRICE_TITLE}--></th>
77      <td>
78      <!--{$arrForm.price02|escape}-->
79      円</td>
80    </tr>
81    <tr>
82      <th>在庫数</th>
83      <td>
84      <!--{if $arrForm.stock_unlimited == 1}-->
85        無制限
86      <!--{else}-->
87        <!--{$arrForm.stock|escape}-->
88      <!--{/if}-->
89      </td>
90    </tr>
91    <!--{/if}-->
92
93    <tr>
94      <th>商品送料</th>
95      <td>
96        <!--{$arrForm.deliv_fee|escape}-->
97        円</td>
98    </tr>
99    <tr>
100      <th>ポイント付与率</th>
101      <td>
102      <!--{$arrForm.point_rate|escape}-->
103      %</td>
104    </tr>
105    <tr>
106      <th>発送日目安</th>
107      <td>
108      <!--{$arrDELIVERYDATE[$arrForm.deliv_date_id]|escape}-->
109      </td>
110    </tr>
111    <tr>
112      <th>購入制限</th>
113      <td>
114      <!--{if $arrForm.sale_unlimited == 1}-->
115        無制限
116      <!--{else}-->
117        <!--{$arrForm.sale_limit|escape}-->
118      <!--{/if}-->
119      </td>
120    </tr>
121    <tr>
122      <th>メーカー</th>
123      <td>
124        <!--{$arrMaker[$arrForm.maker_id]|escape}-->
125      </td>
126    </tr>
127    <tr>
128      <th>メーカーURL</th>
129      <td>
130      <!--{$arrForm.comment1|escape|sfPutBR:$smarty.const.LINE_LIMIT_SIZE}-->
131      </td>
132    </tr>
133    <!--{*
134    <tr>
135      <th>成分</th>
136      <td>
137      <!--{$arrForm.comment2|escape}-->
138      </td>
139    </tr>
140    *}-->
141    <tr>
142      <th>検索ワード</th>
143      <td>
144      <!--{$arrForm.comment3|escape}-->
145      </td>
146    </tr>
147    <tr>
148      <th>備考欄(SHOP専用)</th>
149      <td>
150        <!--{$arrForm.note|escape|nl2br}-->
151      </td>
152    </tr>
153    <tr>
154      <th>一覧-メインコメント</th>
155      <td>
156      <!--{$arrForm.main_list_comment|escape|nl2br}-->
157      </td>
158    </tr>
159    <tr>
160      <th>詳細-メインコメント</th>
161      <td>
162      <!--{$arrForm.main_comment|nl2br_html}-->
163      </td>
164    </tr>
165    <tr>
166      <th>一覧-メイン画像</th>
167      <td>
168      <!--{assign var=key value="main_list_image"}-->
169      <!--{if $arrFile[$key].filepath != ""}-->
170      <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
171      <!--{/if}-->
172      </td>
173    </tr>
174    <tr>
175      <th>詳細-メイン画像</th>
176      <td>
177      <!--{assign var=key value="main_image"}-->
178      <!--{if $arrFile[$key].filepath != ""}-->
179      <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
180      <!--{/if}-->
181      </td>
182    </tr>
183    <tr>
184      <th>詳細-メイン拡大画像</th>
185      <td>
186      <!--{assign var=key value="main_large_image"}-->
187      <!--{if $arrFile[$key].filepath != ""}-->
188      <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
189      <!--{/if}-->
190      </td>
191    </tr>
192
193    <!--{* オペビルダー用 *}-->
194    <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
195    <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/admin_ope_view.tpl}-->
196    <!--{/if}-->
197
198    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
199    <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
200    <tr>
201      <th>詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</th>
202      <td>
203      <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
204      <!--{$arrForm[$key]|escape}-->
205      </td>
206    </tr>
207    <tr>
208      <th>詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)</th>
209      <td>
210      <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
211      <!--{$arrForm[$key]|nl2br_html}-->
212      </td>
213    </tr>
214    <tr>
215      <th>詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)</th>
216      <td>
217      <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
218      <!--{if $arrFile[$key].filepath != ""}-->
219      <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
220      <!--{/if}-->
221      </td>
222    </tr>
223    <tr>
224      <th>詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)</th>
225      <td>
226      <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
227      <!--{if $arrFile[$key].filepath != ""}-->
228      <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|escape}-->" /><br />
229      <!--{/if}-->
230      </td>
231    </tr>
232    <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
233    <!--{/section}-->
234 
235    <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
236    <!--▼関連商品-->
237    <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
238    <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
239    <tr>
240      <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br />
241      <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}-->
242        <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$arrRecommend[$recommend_no].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->">
243      <!--{/if}-->
244      </th>
245      <td>
246      <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}-->
247        商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br />
248        商品名:<!--{$arrRecommend[$recommend_no].name|escape}--><br />
249        コメント:<br />
250        <!--{$arrRecommend[$recommend_no].comment|escape|nl2br}-->
251      <!--{/if}-->
252      </td>
253    </tr>
254    <!--{/section}-->
255    <!--▲関連商品-->
256    <!--{/if}-->
257  </table>
258
259  <div class="btn">
260    <button type="button" onclick="fnModeSubmit('confirm_return','',''); return false;"><span>前のページに戻る</span></button>
261    <button type="submit"><span>この内容で登録する</span></button>
262  </div>
263</div>
264</form>
Note: See TracBrowser for help on using the repository browser.