1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2010 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="<!--{$TPL_DIR}-->jquery.fancybox/jquery.mousewheel-3.0.2.pack.js"></script> |
---|
23 | <script type="text/javascript" src="<!--{$TPL_DIR}-->jquery.fancybox/jquery.fancybox-1.3.1.pack.js"></script> |
---|
24 | <link rel="stylesheet" href="<!--{$TPL_DIR}-->jquery.fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" /> |
---|
25 | <script type="text/javascript">//<![CDATA[ |
---|
26 | $(document).ready(function() { |
---|
27 | $("a.expansion").fancybox({ |
---|
28 | }); |
---|
29 | }); |
---|
30 | //]]></script> |
---|
31 | |
---|
32 | <!--▼CONTENTS--> |
---|
33 | <div id="under02column"> |
---|
34 | <div id="under02column_cart"> |
---|
35 | <h2 class="title"><!--{$tpl_title|escape}--></h2> |
---|
36 | <!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}--> |
---|
37 | <p class="totalmoneyarea"> |
---|
38 | <!--★ポイント案内★--> |
---|
39 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
40 | <!--{if $tpl_login}--> |
---|
41 | <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> |
---|
42 | <!--{else}--> |
---|
43 | ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br /> |
---|
44 | <!--{/if}--> |
---|
45 | ポイントは商品購入時に1pt=<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br /> |
---|
46 | <!--{/if}--> |
---|
47 | |
---|
48 | <!--{* カゴの中に商品がある場合にのみ表示 *}--> |
---|
49 | <!--{if count($arrProductsClass) > 0 }--> |
---|
50 | <!--{* FIXME $key は未定義 *}--> |
---|
51 | お買い上げ商品の合計金額は「<em><!--{$tpl_total_pretax[$key]|number_format}-->円</em>」です。 |
---|
52 | <!--{if $arrInfo.free_rule > 0}--> |
---|
53 | <!--{if $arrData.deliv_fee > 0}--> |
---|
54 | <!--{* FIXME $key は未定義 *}--> |
---|
55 | あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です!! |
---|
56 | <!--{else}--> |
---|
57 | 現在、「<em>送料無料</em>」です!! |
---|
58 | <!--{/if}--> |
---|
59 | <!--{/if}--> |
---|
60 | <!--{/if}--> |
---|
61 | </p> |
---|
62 | <!--{/if}--> |
---|
63 | |
---|
64 | <!--{if strlen($tpl_error) != 0}--> |
---|
65 | <p class="attention"><!--{$tpl_error|escape}--></p> |
---|
66 | <!--{/if}--> |
---|
67 | |
---|
68 | <!--{if strlen($tpl_message) != 0}--> |
---|
69 | <p class="attention"><!--{$tpl_message|escape|nl2br}--></p> |
---|
70 | <!--{/if}--> |
---|
71 | |
---|
72 | <!--{if count($cartItems) > 0}--> |
---|
73 | |
---|
74 | <!--{foreach from=$cartKeys item=key}--> |
---|
75 | <form name="form1" id="form1" method="post" action="?"> |
---|
76 | <!--{if 'sfGMOCartDisplay'|function_exists}--> |
---|
77 | <!--{'sfGMOCartDisplay'|call_user_func}--> |
---|
78 | <!--{/if}--> |
---|
79 | |
---|
80 | <input type="hidden" name="mode" value="confirm" /> |
---|
81 | <input type="hidden" name="cart_no" value="" /> |
---|
82 | <input type="hidden" name="cartKey" value="<!--{$key}-->" /> |
---|
83 | <table summary="商品情報"> |
---|
84 | <tr> |
---|
85 | <th>削除</th> |
---|
86 | <th>商品写真</th> |
---|
87 | <th>商品名</th> |
---|
88 | <th>単価</th> |
---|
89 | <th>数量</th> |
---|
90 | <th>小計</th> |
---|
91 | </tr> |
---|
92 | <!--{foreach from=$cartItems[$key] item=item}--> |
---|
93 | <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"> |
---|
94 | <td><a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">削除</a> |
---|
95 | </td> |
---|
96 | <td class="phototd"> |
---|
97 | <a |
---|
98 | <!--{if $item.productsClass.main_image|strlen >= 1}--> |
---|
99 | href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|escape}-->" |
---|
100 | class="expansion" |
---|
101 | target="_blank" |
---|
102 | <!--{/if}--> |
---|
103 | > |
---|
104 | <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|escape}-->&width=65&height=65" alt="<!--{$item.productsClass.name|escape}-->" /></a> |
---|
105 | </td> |
---|
106 | <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|escape}--></strong><br /> |
---|
107 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
108 | <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> |
---|
109 | <!--{/if}--> |
---|
110 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
111 | <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--> |
---|
112 | <!--{/if}--> |
---|
113 | </td> |
---|
114 | <td class="pricetd"> |
---|
115 | <!--{if $item.productsClass.price02 != ""}--> |
---|
116 | <!--{$item.productsClass.price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 |
---|
117 | <!--{else}--> |
---|
118 | <!--{$item.productsClass.price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 |
---|
119 | <!--{/if}--> |
---|
120 | </td> |
---|
121 | <td id="quantity"><!--{$item.quantity}--> |
---|
122 | <ul id="quantity_level"> |
---|
123 | <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/plus.gif" width="16" height="16" alt="+" /></a></li> |
---|
124 | <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/minus.gif" width="16" height="16" alt="-" /></a></li> |
---|
125 | </ul> |
---|
126 | </td> |
---|
127 | <td class="pricetd"><!--{$item.total_pretax|number_format}-->円</td> |
---|
128 | </tr> |
---|
129 | <!--{/foreach}--> |
---|
130 | <tr> |
---|
131 | <th colspan="5" class="resulttd">小計</th> |
---|
132 | <td class="pricetd"><!--{$tpl_total_pretax[$key]|number_format}-->円</td> |
---|
133 | </tr> |
---|
134 | <tr> |
---|
135 | <th colspan="5" class="resulttd">合計</th> |
---|
136 | <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td> |
---|
137 | </tr> |
---|
138 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
139 | <!--{if $arrData.birth_point > 0}--> |
---|
140 | <tr> |
---|
141 | <th colspan="5" class="resulttd">お誕生月ポイント</th> |
---|
142 | <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> |
---|
143 | </tr> |
---|
144 | <!--{/if}--> |
---|
145 | <tr> |
---|
146 | <th colspan="5" class="resulttd">今回加算ポイント</th> |
---|
147 | <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> |
---|
148 | </tr> |
---|
149 | <!--{/if}--> |
---|
150 | </table> |
---|
151 | <div class="tblareabtn"> |
---|
152 | <!--{if strlen($tpl_error) == 0}--> |
---|
153 | <p>上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p> |
---|
154 | <!--{/if}--> |
---|
155 | |
---|
156 | <p> |
---|
157 | <!--{if $tpl_prev_url != ""}--> |
---|
158 | <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');"> |
---|
159 | <img src="<!--{$TPL_DIR}-->img/cart/b_pageback.gif" width="150" height="30" alt="買い物を続ける" name="back" id="back" /></a> |
---|
160 | <!--{/if}--> |
---|
161 | <!--{if strlen($tpl_error) == 0}--> |
---|
162 | <input type="hidden" name="cartKey" value="<!--{$key}-->" /> |
---|
163 | <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" /> |
---|
164 | <!--{/if}--> |
---|
165 | </p> |
---|
166 | </div> |
---|
167 | </form> |
---|
168 | <!--{/foreach}--> |
---|
169 | <!--{else}--> |
---|
170 | <p class="empty"><em>※ 現在カート内に商品はございません。</em></p> |
---|
171 | <!--{/if}--> |
---|
172 | </div> |
---|
173 | </div> |
---|
174 | <!--▲CONTENTS--> |
---|