source: branches/comu-ver2/data/Smarty/templates/default/cart/index.tpl @ 17435

Revision 17435, 7.6 KB checked in by Seasoft, 16 years ago (diff)

ポイントシステムをON・OFF可能に。フロント機能のみの暫定対応。

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2007 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<div id="under02column">
24  <div id="under02column_cart">
25    <h2 class="title">
26      <img src="<!--{$TPL_DIR}-->img/cart/title.jpg" width="700" height="40" alt="現在のカゴの中" />
27    </h2>
28    <p class="totalmoneyarea">
29      <!--★ポイント案内★-->
30      <!--{if $smarty.const.USE_POINT !== false}-->
31        <!--{if $tpl_login}-->
32          <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br />
33        <!--{else}-->
34          ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br />
35        <!--{/if}-->
36        ポイントは商品購入時に1pt=<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br />
37      <!--{/if}-->
38     
39      <!--{* カゴの中に商品がある場合にのみ表示 *}-->
40      <!--{if count($arrProductsClass) > 0 }-->
41        お買い上げ商品の合計金額は「<em><!--{$tpl_total_pretax|number_format}-->円</em>」です。
42        <!--{if $arrInfo.free_rule > 0}-->
43          <!--{if $arrData.deliv_fee|number_format > 0}-->
44            あと「<em><!--{$tpl_deliv_free|number_format}-->円</em>」で送料無料です!!
45          <!--{else}-->
46            現在、「<em>送料無料</em>」です!!
47          <!--{/if}-->
48        <!--{/if}-->
49      <!--{/if}-->
50    </p>
51
52   <!--{if $tpl_message != ""}-->
53    <p class="attention"><!--{$tpl_message|escape}--></p>
54   <!--{/if}-->
55
56   <!--{if count($arrProductsClass) > 0}-->
57   <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
58     <input type="hidden" name="mode" value="confirm" />
59     <input type="hidden" name="cart_no" value="" />
60     <table summary="商品情報">
61       <tr>
62         <th>削除</th>
63         <th>商品写真</th>
64         <th>商品名</th>
65         <th>単価</th>
66         <th>個数</th>
67         <th>小計</th>
68       </tr>
69      <!--{section name=cnt loop=$arrProductsClass}-->
70       <tr>
71         <td><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.server.PHP_SELF|escape}-->'); fnModeSubmit('delete', 'cart_no', '<!--{$arrProductsClass[cnt].cart_no}-->'); return false;">削除</a>
72         </td>
73         <td class="phototd">
74           <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win01('../products/detail_image.php?product_id=<!--{$arrProductsClass[cnt].product_id}-->&image=main_image','detail_image','<!--{$arrProductsClass[cnt].tpl_image_width}-->','<!--{$arrProductsClass[cnt].tpl_image_height}-->'); return false;" target="_blank">
75           <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt].main_list_image}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt].name|escape}-->" />
76           </a>
77         </td>
78         <td><!--{* 商品名 *}--><strong><!--{$arrProductsClass[cnt].name|escape}--></strong><br />
79           <!--{if $arrProductsClass[cnt].classcategory_name1 != ""}-->
80             <!--{$arrProductsClass[cnt].class_name1}-->:<!--{$arrProductsClass[cnt].classcategory_name1}--><br />
81           <!--{/if}-->
82           <!--{if $arrProductsClass[cnt].classcategory_name2 != ""}-->
83             <!--{$arrProductsClass[cnt].class_name2}-->:<!--{$arrProductsClass[cnt].classcategory_name2}-->
84           <!--{/if}-->
85         </td>
86         <td class="pricetd">
87         <!--{if $arrProductsClass[cnt].price02 != ""}-->
88           <!--{$arrProductsClass[cnt].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
89         <!--{else}-->
90           <!--{$arrProductsClass[cnt].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
91         <!--{/if}-->
92         </td>
93         <td id="quantity"><!--{$arrProductsClass[cnt].quantity}-->
94           <ul id="quantity_level">
95            <li><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.server.PHP_SELF|escape}-->'); fnModeSubmit('up','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/plus.gif" width="16" height="16" alt="+" /></a></li>
96            <li><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.server.PHP_SELF|escape}-->'); fnModeSubmit('down','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/minus.gif" width="16" height="16" alt="-" /></a></li>
97           </ul>
98         </td>
99         <td class="pricetd"><!--{$arrProductsClass[cnt].total_pretax|number_format}-->円</td>
100     </tr>
101     <!--{/section}-->
102     <tr>
103       <th colspan="5" class="resulttd">小計</th>
104       <td class="pricetd"><!--{$tpl_total_pretax|number_format}--></td>
105    </tr>
106    <tr>
107      <th colspan="5" class="resulttd">合計</th>
108      <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td>
109    </tr>
110    <!--{if $smarty.const.USE_POINT !== false}-->
111      <!--{if $arrData.birth_point > 0}-->
112      <tr>
113        <th colspan="5" class="resulttd">お誕生月ポイント</th>
114        <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td>
115      </tr>
116      <!--{/if}-->
117      <tr>
118        <th colspan="5" class="resulttd">今回加算ポイント</th>
119        <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td>
120      </tr>
121    <!--{/if}-->
122  </table>
123  <p class="mini">※商品写真は参考用写真です。ご注文のカラーと異なる写真が表示されている場合でも、商品番号に記載されているカラー表示で間違いございませんのでご安心ください。</p>
124  <div class="tblareabtn">
125    <p>
126      <img src="<!--{$TPL_DIR}-->img/cart/text.gif" width="390" height="30" alt="上記内容でよろしければ「レジへ行く」ボタンをクリックしてください。" />
127    </p>
128
129   <!--{if $tpl_prev_url != ""}-->
130     <p>
131       <a href="<!--{$tpl_prev_url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/cart/b_pageback_on.gif','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/cart/b_pageback.gif','back');">
132         <img src="<!--{$TPL_DIR}-->img/cart/b_pageback.gif" width="150" height="30" alt="買い物を続ける" name="back" id="back" />
133       </a>&nbsp;&nbsp;
134   <!--{/if}-->
135       <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/cart/b_buystep.gif" class="box150"  alt="購入手続きへ" name="confirm" />
136     </p>
137  </div>
138</form>
139<!--{else}-->
140<p class="empty"><em>※ 現在カート内に商品はございません。</em></p>
141<!--{/if}-->
142</div>
143</div>
144<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.