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

Revision 21063, 9.3 KB checked in by 468, 13 years ago (diff)

#1413 スマートフォン版カート内商品合計金額追加

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