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

Revision 21094, 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 class="fb">商品の合計金額は「<span class="price"><!--{$tpl_all_total_inctax|number_format}-->円</span>」です。</p>
40
41    <!--{if $tpl_login}-->
42       <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 />
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="form<!--{$key}-->" id="form<!--{$key}-->" 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                <!--{/if}-->
112
113                <!--▼カートの中の商品一覧 -->
114                <div class="cartinarea clearfix">
115                <!--{foreach from=$cartItems[$key] item=item}-->
116                    <!--▼商品 -->
117                    <div class="cartitemBox">
118                    <!--{if $item.productsClass.main_image|strlen >= 1}-->
119                        <a rel="external" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" target="_blank">
120                        <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>
121                    <!--{else}-->
122                        <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" />
123                    <!--{/if}-->
124                     <div class="cartinContents">
125                     <div>
126                      <p><em><!--{$item.productsClass.name|h}--></em><br />
127                      <!--{if $item.productsClass.classcategory_name1 != ""}-->
128                          <span class="mini"><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--></span><br />
129                      <!--{/if}-->
130                      <!--{if $item.productsClass.classcategory_name2 != ""}-->
131                          <span class="mini"><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--></span><br />
132                      <!--{/if}-->
133                      <span class="mini">価格:</span><!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
134                      </p>
135                    <p class="btn_delete">
136                    <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>
137                     </div>
138                    <ul>
139                     <li><input type="number" name="quantity" class="cartin_quantity text data-role-none" value="<!--{$item.quantity}-->" maxlength="9" style="" onchange="fnFormModeSubmit('form<!--{$key}-->', 'setQuantity','cart_no','<!--{$item.cart_no}-->');" /></li>
140                      <li class="result"><span class="mini">小計:</span><!--{$item.total_inctax|number_format}-->円</li>
141                    </ul>
142                    </div>
143                     
144                    </div>
145                    <!--▲商品 -->
146                 <!--{/foreach}-->
147                </div>
148                <!--▲カートの中の商品一覧ここまで -->
149
150                <div class="total_area">
151                <p><span class="mini">合計:</span><span class="price fb"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}--> 円</span></p>
152                <!--{if $smarty.const.USE_POINT !== false}-->
153                <!--{if $arrData[$key].birth_point > 0}-->
154                    <p><span class="mini">お誕生月ポイント:</span> <!--{$arrData[$key].birth_point|number_format}--> Pt</p>
155                <!--{/if}-->
156                <p><span class="mini">今回加算ポイント:</span> <!--{$arrData[$key].add_point|number_format}--> Pt</p>
157                <!--{/if}-->
158                </div>
159              <!--{if strlen($tpl_error) == 0}-->
160                <div class="btn_area_btm">
161                <input type="hidden" name="cartKey" value="<!--{$key}-->" />
162                <input type="submit" value="ご購入手続きへ" alt="ご購入手続きへ" name="confirm" class="btn data-role-none" />
163                </div>
164              <!--{/if}-->
165            </div><!--▲formBox -->
166        </form>
167    <!--{/foreach}-->
168<!--{else}-->
169    <p class="empty"><em>※ 現在カート内に商品はございません。</em></p>
170<!--{/if}-->
171
172<p><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->" class="btn_sub">お買い物を続ける</a></p>
173
174</div><!--▲form_area -->
175
176</section>
177<!--▲コンテンツここまで -->
Note: See TracBrowser for help on using the repository browser.