source: branches/version-2_12-dev/data/Smarty/templates/sphone/cart/index.tpl @ 21390

Revision 21390, 9.0 KB checked in by kotani, 12 years ago (diff)

Merge from version-2_11-dev

  • 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-2011 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<!--▼コンテンツここから -->
23<section id="undercolumn">
24
25
26<h2 class="title"><!--{$tpl_title|h}--></h2>
27<!--{if $smarty.const.USE_POINT !== false}-->
28  <!--★ポイント案内★-->
29  <div class="information">
30    <p class="fb">商品の合計金額は「<span class="price"><!--{$tpl_all_total_inctax|number_format}-->円</span>」です。</p>
31
32    <!--{if $tpl_login}-->
33       <p class="point_announce"><span class="user_name"><!--{$tpl_name|h}--> 様</span>の、現在の所持ポイントは「<span class="point"><!--{$tpl_user_point|number_format|default:0}--> pt</span>」です。<br />
34         ポイントは商品購入時に<span class="price">1pt=<!--{$smarty.const.POINT_VALUE}-->円</span>として使用することができます。</p>
35    <!--{else}-->
36          <p class="point_announce">ポイント制度をご利用になられる場合は、ログインが必要です。</p>
37    <!--{/if}-->
38   
39  </div>
40<!--{/if}-->
41
42<!--{if strlen($tpl_error) != 0}-->
43    <p class="attention"><!--{$tpl_error|h}--></p>
44<!--{/if}-->
45
46<!--{if strlen($tpl_message) != 0}-->
47    <p class="attention"><!--{$tpl_message|h|nl2br}--></p>
48<!--{/if}-->
49
50<!--▼フォームここから -->
51<div class="form_area">
52
53<!--{* カゴの中に商品がある場合にのみ表示 *}-->
54<!--{if count($cartKeys) > 1}-->
55  <p class="attentionSt">
56  <!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。</p>
57<!--{/if}-->
58
59<!--{if count($cartItems) > 0}-->
60
61    <!--{foreach from=$cartKeys item=key}-->
62   
63        <!--☆送料無料アナウンス右にスライドボタン -->
64        <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
65            <!--{if $arrInfo.free_rule > 0}-->
66                <div class="bubbleBox">
67                <div class="bubble_announce clearfix">
68                <p><a rel="external" href="<!--{$tpl_prev_url|h}-->">
69                <!--{if !$arrData[$key].is_deliv_free}-->
70                    あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で<span class="price">送料無料!!</span>
71                <!--{else}-->
72                    現在、「<span class="price">送料無料</span>」です!!
73                <!--{/if}-->
74                  <br />
75                商品を追加しますか?</a></p>
76                </div>
77                  <div class="bubble_arrow_line"><!--矢印空タグ --></div>
78                <div class="bubble_arrow"><!--矢印空タグ --></div>
79                </div>
80            <!--{/if}-->
81        <!--{/if}-->
82
83        <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="<!--{$smarty.const.CART_URLPATH|h}-->">
84            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
85            <!--{if 'sfGMOCartDisplay'|function_exists}-->
86                <!--{'sfGMOCartDisplay'|call_user_func}-->
87            <!--{/if}-->
88
89            <input type="hidden" name="mode" value="confirm" />
90            <input type="hidden" name="cart_no" value="" />
91            <input type="hidden" name="cartKey" value="<!--{$key}-->" />
92
93            <div class="formBox">
94           
95                <!--{if count($cartKeys) > 1}-->
96                 <div class="box_header">
97                  <h3><!--{$arrProductType[$key]}--></h3>
98                  </div>
99                  <div class="totalmoney_area">
100                  <!--{$arrProductType[$key]}-->の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。
101                  </div>
102                <!--{/if}-->
103
104                <!--▼カートの中の商品一覧 -->
105                <div class="cartinarea clearfix">
106                <!--{foreach from=$cartItems[$key] item=item}-->
107                    <!--▼商品 -->
108                    <div class="cartitemBox">
109                        <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$item.productsClass.name|h}-->" class="photoL" />
110                     <div class="cartinContents">
111                     <div>
112                      <p><em><!--{$item.productsClass.name|h}--></em><br />
113                      <!--{if $item.productsClass.classcategory_name1 != ""}-->
114                          <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br />
115                      <!--{/if}-->
116                      <!--{if $item.productsClass.classcategory_name2 != ""}-->
117                          <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span><br />
118                      <!--{/if}-->
119                      <span class="mini">価格:</span><!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
120                      </p>
121                    <p class="btn_delete">
122                    <img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" onClick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->');" class="pointer" width="21" height="20" alt="削除" /></p>
123                     </div>
124                    <ul>
125                      <li class="quantity"><span class="mini">数量:</span><!--{$item.quantity|number_format}--></li>
126                      <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="+" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$item.cart_no}-->'); return false" /></li>
127                      <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$item.cart_no}-->'); return false" /></a></li>
128                      <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li>
129                    </ul>
130                    </div>
131                     
132                    </div>
133                    <!--▲商品 -->
134                 <!--{/foreach}-->
135                </div>
136                <!--▲カートの中の商品一覧ここまで -->
137
138                <div class="total_area">
139                <div><span class="mini">合計:</span><span class="price fb"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}--> 円</span></div>
140                <!--{if $smarty.const.USE_POINT !== false}-->
141                <!--{if $arrData[$key].birth_point > 0}-->
142                    <div><span class="mini">お誕生月ポイント:</span> <!--{$arrData[$key].birth_point|number_format}--> Pt</div>
143                <!--{/if}-->
144                <div><span class="mini">今回加算ポイント:</span> <!--{$arrData[$key].add_point|number_format}--> Pt</div>
145                <!--{/if}-->
146                </div>
147              <!--{if strlen($tpl_error) == 0}-->
148                <div class="btn_area_btm">
149                <input type="hidden" name="cartKey" value="<!--{$key}-->" />
150                <input type="submit" value="ご購入手続きへ" name="confirm" class="btn data-role-none" />
151                </div>
152              <!--{/if}-->
153            </div><!--▲formBox -->
154        </form>
155    <!--{/foreach}-->
156<!--{else}-->
157    <p class="empty"><em>※ 現在カート内に商品はございません。</em></p>
158<!--{/if}-->
159
160<p><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->" class="btn_sub">お買い物を続ける</a></p>
161
162</div><!--▲form_area -->
163
164</section>
165<!--▼検索バー -->
166<section id="search_area">
167<form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
168<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
169<input type="hidden" name="mode" value="search" />
170<input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
171</form>
172</section>
173<!--▲検索バー -->
174<!--▲コンテンツここまで -->
Note: See TracBrowser for help on using the repository browser.