1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2012 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 | <script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.js"></script> |
---|
24 | <link rel="stylesheet" type="text/css" href="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.css" media="screen" /> |
---|
25 | <script type="text/javascript">//<![CDATA[ |
---|
26 | $(document).ready(function() { |
---|
27 | $('a.expansion').facebox({ |
---|
28 | loadingImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/loading.gif', |
---|
29 | closeImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/closelabel.png' |
---|
30 | }); |
---|
31 | }); |
---|
32 | //]]></script> |
---|
33 | |
---|
34 | <div id="undercolumn"> |
---|
35 | <div id="undercolumn_cart"> |
---|
36 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
37 | |
---|
38 | <!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}--> |
---|
39 | <!--★ポイント案内★--> |
---|
40 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
41 | <div class="point_announce"> |
---|
42 | <!--{if $tpl_login}--> |
---|
43 | <span class="user_name"><!--{$tpl_name|h}--></span>, you currently have "<span class="point"><!--{$tpl_user_point|number_format|default:0}--> pt</span>."<br /> |
---|
44 | <!--{else}--> |
---|
45 | If using the point system, please complete member registration and log in.<br /> |
---|
46 | <!--{/if}--> |
---|
47 | It is possible to use <span class="price">1pt = $ <!--{$smarty.const.POINT_VALUE}--></span> when purchasing a product.<br /> |
---|
48 | </div> |
---|
49 | <!--{/if}--> |
---|
50 | <!--{/if}--> |
---|
51 | |
---|
52 | <p class="totalmoney_area"> |
---|
53 | <!--{* カゴの中に商品がある場合にのみ表示 *}--> |
---|
54 | <!--{if count($cartKeys) > 1}--> |
---|
55 | <span class="attentionSt"><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}--> and <!--{/if}--><!--{/foreach}--> cannot be purchased simultaneously.<br /> |
---|
56 | Please carry out separate purchasing procedures. |
---|
57 | </span> |
---|
58 | <!--{/if}--> |
---|
59 | |
---|
60 | <!--{if strlen($tpl_error) != 0}--> |
---|
61 | <p class="attention"><!--{$tpl_error|h}--></p> |
---|
62 | <!--{/if}--> |
---|
63 | |
---|
64 | <!--{if strlen($tpl_message) != 0}--> |
---|
65 | <p class="attention"><!--{$tpl_message|h|nl2br}--></p> |
---|
66 | <!--{/if}--> |
---|
67 | </p> |
---|
68 | |
---|
69 | <!--{if count($cartItems) > 0}--> |
---|
70 | <!--{foreach from=$cartKeys item=key}--> |
---|
71 | <div class="form_area"> |
---|
72 | <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?"> |
---|
73 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
74 | <input type="hidden" name="mode" value="confirm" /> |
---|
75 | <input type="hidden" name="cart_no" value="" /> |
---|
76 | <input type="hidden" name="cartKey" value="<!--{$key}-->" /> |
---|
77 | <input type="hidden" name="category_id" value="<!--{$tpl_category_id|h}-->" /> |
---|
78 | <!--{if count($cartKeys) > 1}--> |
---|
79 | <h3><!--{$arrProductType[$key]}--></h3> |
---|
80 | <p> |
---|
81 | The total amount for <!--{$arrProductType[$key]}--> is "<span class="price">$ <!--{$tpl_total_inctax[$key]|number_format}--></span>". |
---|
82 | <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
83 | <!--{if $arrInfo.free_rule > 0}--> |
---|
84 | <!--{if !$arrData[$key].is_deliv_free}--> |
---|
85 | Shipping is free if you spend another "<span class="price">$ <!--{$tpl_deliv_free[$key]|number_format}--></span>"!! |
---|
86 | <!--{else}--> |
---|
87 | "<span class="attention">Free shipping</span>" now!! |
---|
88 | <!--{/if}--> |
---|
89 | <!--{/if}--> |
---|
90 | <!--{/if}--> |
---|
91 | </p> |
---|
92 | <!--{else}--> |
---|
93 | <p> |
---|
94 | The total of your purchase is "<span class="price">$ <!--{$tpl_total_inctax[$key]|number_format}--></span>". |
---|
95 | <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
96 | <!--{if $arrInfo.free_rule > 0}--> |
---|
97 | <!--{if !$arrData[$key].is_deliv_free}--> |
---|
98 | Shipping is free if you spend another "<span class="price">$ <!--{$tpl_deliv_free[$key]|number_format}--></span>"!! |
---|
99 | <!--{else}--> |
---|
100 | "<span class="attention">Free shipping</span>" now!! |
---|
101 | <!--{/if}--> |
---|
102 | <!--{/if}--> |
---|
103 | <!--{/if}--> |
---|
104 | </p> |
---|
105 | <!--{/if}--> |
---|
106 | |
---|
107 | <table summary="Product information"> |
---|
108 | <col width="10%" /> |
---|
109 | <col width="15%" /> |
---|
110 | <col width="30%" /> |
---|
111 | <col width="15%" /> |
---|
112 | <col width="15%" /> |
---|
113 | <col width="15%" /> |
---|
114 | <tr> |
---|
115 | <th class="alignC">Delete</th> |
---|
116 | <th class="alignC">Product photo</th> |
---|
117 | <th class="alignC">Product name</th> |
---|
118 | <th class="alignC">Unit price</th> |
---|
119 | <th class="alignC">Quantity</th> |
---|
120 | <th class="alignC">Subtotal</th> |
---|
121 | </tr> |
---|
122 | <!--{foreach from=$cartItems[$key] item=item}--> |
---|
123 | <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"> |
---|
124 | <td class="alignC"><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$item.cart_no}-->'); return false;">Delete</a> |
---|
125 | </td> |
---|
126 | <td class="alignC"> |
---|
127 | <a class="expansion" target="_blank" |
---|
128 | <!--{if $item.productsClass.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" |
---|
129 | <!--{/if}--> |
---|
130 | > |
---|
131 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$item.productsClass.name|h}-->" /> |
---|
132 | </a> |
---|
133 | </td> |
---|
134 | <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br /> |
---|
135 | <!--{if $item.productsClass.classcategory_name1 != ""}--> |
---|
136 | <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> |
---|
137 | <!--{/if}--> |
---|
138 | <!--{if $item.productsClass.classcategory_name2 != ""}--> |
---|
139 | <!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--> |
---|
140 | <!--{/if}--> |
---|
141 | </td> |
---|
142 | <td class="alignR"> |
---|
143 | $<!--{$item.price|sfCalcIncTax|number_format}--> |
---|
144 | </td> |
---|
145 | <td class="alignC"><!--{$item.quantity}--> |
---|
146 | <ul id="quantity_level"> |
---|
147 | <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->','up','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.jpg" width="16" height="16" alt="+" /></a></li> |
---|
148 | <li><a href="?" onclick="fnFormModeSubmit('form<!--{$key}-->','down','cart_no','<!--{$item.cart_no}-->'); return false"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.jpg" width="16" height="16" alt="-" /></a></li> |
---|
149 | </ul> |
---|
150 | </td> |
---|
151 | <td class="alignR">$<!--{$item.total_inctax|number_format}--></td> |
---|
152 | </tr> |
---|
153 | <!--{/foreach}--> |
---|
154 | <tr> |
---|
155 | <th colspan="5" class="alignR">Subtotal</th> |
---|
156 | <td class="alignR">$<!--{$tpl_total_inctax[$key]|number_format}--></td> |
---|
157 | </tr> |
---|
158 | <tr> |
---|
159 | <th colspan="5" class="alignR">Total</th> |
---|
160 | <td class="alignR"><span class="price">$<!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}--></span></td> |
---|
161 | </tr> |
---|
162 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
163 | <!--{if $arrData[$key].birth_point > 0}--> |
---|
164 | <tr> |
---|
165 | <th colspan="5" class="alignR">Birthday points</th> |
---|
166 | <td class="alignR"><!--{$arrData[$key].birth_point|number_format}-->pt</td> |
---|
167 | </tr> |
---|
168 | <!--{/if}--> |
---|
169 | <tr> |
---|
170 | <th colspan="5" class="alignR">Points added at this time</th> |
---|
171 | <td class="alignR"><!--{$arrData[$key].add_point|number_format}-->pt</td> |
---|
172 | </tr> |
---|
173 | <!--{/if}--> |
---|
174 | </table> |
---|
175 | <!--{if strlen($tpl_error) == 0}--> |
---|
176 | <p class="alignC">If the contents above are acceptable, click the "To purchasing procedure" button.</p> |
---|
177 | <!--{/if}--> |
---|
178 | <div class="btn_area"> |
---|
179 | <ul> |
---|
180 | <li> |
---|
181 | <!--{if $tpl_prev_url != ""}--> |
---|
182 | <a class="bt04" href="<!--{$tpl_prev_url|h}-->">Go back</a> |
---|
183 | <!--{/if}--> |
---|
184 | </li> |
---|
185 | <li> |
---|
186 | <!--{if strlen($tpl_error) == 0}--> |
---|
187 | <input type="hidden" name="cartKey" value="<!--{$key}-->" /> |
---|
188 | <button class="bt02">To purchase procedure</button> |
---|
189 | <!--{/if}--> |
---|
190 | </li> |
---|
191 | </ul> |
---|
192 | </div> |
---|
193 | </form> |
---|
194 | </div> |
---|
195 | <!--{/foreach}--> |
---|
196 | <!--{else}--> |
---|
197 | <p class="empty"><span class="attention">* There are currently no products in your cart. </span></p> |
---|
198 | <!--{/if}--> |
---|
199 | </div> |
---|
200 | </div> |
---|