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 | <!--▼コンテンツここから --> |
---|
24 | <section id="undercolumn"> |
---|
25 | |
---|
26 | |
---|
27 | <h2 class="title"><!--{$tpl_title|h}--></h2> |
---|
28 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
29 | <!--★ポイント案内★--> |
---|
30 | <div class="information"> |
---|
31 | <p class="fb">The total product amount is "<span class="price">$ <!--{$tpl_all_total_inctax|number_format}--></span>".</p> |
---|
32 | |
---|
33 | <!--{if $tpl_login}--> |
---|
34 | <p class="point_announce"><span class="user_name"><!--{$tpl_name|h}--></span>, you currently have "<span class="point"><!--{$tpl_user_point|number_format|default:0}--> pts.</span>"<br /> |
---|
35 | |
---|
36 | It is possible to use <span class="price">1pts = $ <!--{$smarty.const.POINT_VALUE}--></span> when purchasing a product.</p> |
---|
37 | <!--{else}--> |
---|
38 | <p class="point_announce">If using the point system, it is necessary to log in.</p> |
---|
39 | <!--{/if}--> |
---|
40 | </div> |
---|
41 | <!--{/if}--> |
---|
42 | |
---|
43 | <!--{if strlen($tpl_error) != 0}--> |
---|
44 | <p class="attention"><!--{$tpl_error|h}--></p> |
---|
45 | <!--{/if}--> |
---|
46 | |
---|
47 | <!--{if strlen($tpl_message) != 0}--> |
---|
48 | <p class="attention"><!--{$tpl_message|h|nl2br}--></p> |
---|
49 | <!--{/if}--> |
---|
50 | |
---|
51 | <!--▼フォームここから --> |
---|
52 | <div class="form_area"> |
---|
53 | |
---|
54 | <!--{* カゴの中に商品がある場合にのみ表示 *}--> |
---|
55 | <!--{if count($cartKeys) > 1}--> |
---|
56 | <p class="attentionSt"> |
---|
57 | <!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}--> and <!--{/if}--><!--{/foreach}-->cannot be purchased simultaneously. Please carry out a separate purchasing procedure.</p> |
---|
58 | <!--{/if}--> |
---|
59 | |
---|
60 | <!--{if count($cartItems) > 0}--> |
---|
61 | |
---|
62 | <!--{foreach from=$cartKeys item=key}--> |
---|
63 | |
---|
64 | <!--☆送料無料アナウンス右にスライドボタン --> |
---|
65 | <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}--> |
---|
66 | <!--{if $arrInfo.free_rule > 0}--> |
---|
67 | <div class="bubbleBox"> |
---|
68 | <div class="bubble_announce clearfix"> |
---|
69 | <p><a rel="external" href="<!--{$tpl_prev_url|h}-->"> |
---|
70 | <!--{if !$arrData[$key].is_deliv_free}--> |
---|
71 | <span class="price">Shipping is free</span> if you spend another "<span class="price">$ <!--{$tpl_deliv_free[$key]|number_format}--></span>"! |
---|
72 | <!--{else}--> |
---|
73 | "<span class="price">Free shipping</span>" now!! |
---|
74 | <!--{/if}--> |
---|
75 | <br /> |
---|
76 | Do you want to add this product?</a></p> |
---|
77 | </div> |
---|
78 | <div class="bubble_arrow_line"><!--矢印空タグ --></div> |
---|
79 | <div class="bubble_arrow"><!--矢印空タグ --></div> |
---|
80 | </div> |
---|
81 | <!--{/if}--> |
---|
82 | <!--{/if}--> |
---|
83 | |
---|
84 | <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="<!--{$smarty.const.CART_URLPATH|h}-->"> |
---|
85 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
86 | <!--{if 'sfGMOCartDisplay'|function_exists}--> |
---|
87 | <!--{'sfGMOCartDisplay'|call_user_func}--> |
---|
88 | <!--{/if}--> |
---|
89 | |
---|
90 | <input type="hidden" name="mode" value="confirm" /> |
---|
91 | <input type="hidden" name="cart_no" value="" /> |
---|
92 | <input type="hidden" name="cartKey" value="<!--{$key}-->" /> |
---|
93 | |
---|
94 | <div class="formBox"> |
---|
95 | |
---|
96 | <!--{if count($cartKeys) > 1}--> |
---|
97 | <div class="box_header"> |
---|
98 | <h3><!--{$arrProductType[$key]}--></h3> |
---|
99 | </div> |
---|
100 | <div class="totalmoney_area"> |
---|
101 | The total amount for <!--{$arrProductType[$key]}--> is "<span class="price">$ <!--{$tpl_total_inctax[$key]|number_format}--></span>". |
---|
102 | </div> |
---|
103 | <!--{/if}--> |
---|
104 | |
---|
105 | <!--▼カートの中の商品一覧 --> |
---|
106 | <div class="cartinarea clearfix"> |
---|
107 | <!--{foreach from=$cartItems[$key] item=arrItem}--> |
---|
108 | <!--▼商品 --> |
---|
109 | <div class="cartitemBox"> |
---|
110 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrItem.productsClass.main_list_image|sfNoImageMainList|h}-->&width=80&height=80" alt="<!--{$arrItem.productsClass.name|h}-->" class="photoL" /> |
---|
111 | <div class="cartinContents"> |
---|
112 | <div> |
---|
113 | <p><em><!--{$arrItem.productsClass.name|h}--></em><br /> |
---|
114 | <!--{if $arrItem.productsClass.classcategory_name1 != ""}--> |
---|
115 | <span class="mini"><!--{$arrItem.productsClass.class_name1}-->:<!--{$arrItem.productsClass.classcategory_name1}--></span><br /> |
---|
116 | <!--{/if}--> |
---|
117 | <!--{if $arrItem.productsClass.classcategory_name2 != ""}--> |
---|
118 | <span class="mini"><!--{$arrItem.productsClass.class_name2}-->:<!--{$arrItem.productsClass.classcategory_name2}--></span><br /> |
---|
119 | <!--{/if}--> |
---|
120 | <span class="mini">Price:</span>$ <!--{$arrItem.price|sfCalcIncTax|number_format}--> |
---|
121 | </p> |
---|
122 | <p class="btn_delete"> |
---|
123 | <img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" onClick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$arrItem.cart_no}-->');" class="pointer" width="21" height="20" alt="Delete" /></p> |
---|
124 | </div> |
---|
125 | <ul> |
---|
126 | <li class="quantity"><span class="mini">Quantity:</span><!--{$arrItem.quantity|number_format}--></li> |
---|
127 | <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','<!--{$arrItem.cart_no}-->'); return false" /></li> |
---|
128 | <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','<!--{$arrItem.cart_no}-->'); return false" /></a></li> |
---|
129 | <li class="result"><span class="mini">Subtotal:</span>$ <!--{$arrItem.total_inctax|number_format}--></li> |
---|
130 | </ul> |
---|
131 | </div> |
---|
132 | </div> |
---|
133 | <!--▲商品 --> |
---|
134 | <!--{/foreach}--> |
---|
135 | </div> |
---|
136 | <!--▲カートの中の商品一覧ここまで --> |
---|
137 | |
---|
138 | <div class="total_area"> |
---|
139 | <div><span class="mini">Total:</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">Birthday points:</span> <!--{$arrData[$key].birth_point|number_format}--> Pts</div> |
---|
143 | <!--{/if}--> |
---|
144 | <div><span class="mini">Points added at this time:</span> <!--{$arrData[$key].add_point|number_format}--> Pts</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="To purchasing procedure" 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>* There are currently no products in your cart. </em></p> |
---|
158 | <!--{/if}--> |
---|
159 | |
---|
160 | <p><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->" class="btn_sub">Continue shopping</a></p> |
---|
161 | |
---|
162 | </div><!-- /.form_area --> |
---|
163 | |
---|
164 | </section> |
---|
165 | |
---|
166 | <!--▼検索バー --> |
---|
167 | <section id="search_area"> |
---|
168 | <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php"> |
---|
169 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
170 | <input type="hidden" name="mode" value="search" /> |
---|
171 | <input type="search" name="name" id="search" value="" placeholder="Input keyword" class="searchbox" > |
---|
172 | </form> |
---|
173 | </section> |
---|
174 | <!--▲検索バー --> |
---|
175 | <!--▲コンテンツここまで --> |
---|