- Timestamp:
- 2011/03/05 15:24:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/default/products/list.tpl
r20463 r20522 148 148 <!--▼商品--> 149 149 <form name="product_form<!--{$id|h}-->" action="?" onsubmit="return false;"> 150 151 150 <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 151 <div class="list_area clearfix"> 152 152 <a name="product<!--{$id|h}-->"></a> 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 153 <div class="listphoto"> 154 <!--★画像★--> 155 <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /></a> 156 </div> 157 158 <div class="listrightbloc"> 159 <!--▼商品ステータス--> 160 <!--{if count($productStatus[$id]) > 0}--> 161 <ul class="status_icon clearfix"> 162 <!--{foreach from=$productStatus[$id] item=status}--> 163 <li> 164 <img src="<!--{$TPL_URLPATH}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->"/> 165 </li> 166 <!--{/foreach}--> 167 </ul> 168 <!--{/if}--> 169 <!--▲商品ステータス--> 170 171 <!--★商品名★--> 172 <h3> 173 <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|h}--></a> 174 </h3> 175 <!--★価格★--> 176 <div class="pricebox sale_price"> 177 <!--{$smarty.const.SALE_PRICE_TITLE}-->(税込): 178 <span class="price"> 179 <span id="price02_default_<!--{$id}-->"> 180 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 181 <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 182 <!--{else}--> 183 <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 184 <!--{/if}--> 185 </span><span id="price02_dynamic_<!--{$id}-->"></span> 186 円</span> 187 </div> 188 189 <!--★コメント★--> 190 <div class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></div> 191 192 <!--★商品詳細を見る★--> 193 <div class="detail_btn"> 194 <!--{assign var=name value="detail`$id`"}--> 195 <a href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail_on.jpg','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg','<!--{$name}-->');"> 196 <img src="<!--{$TPL_URLPATH}-->img/button/btn_detail.jpg" alt="商品詳細を見る" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 197 </div> 198 199 <!--▼買い物かご--> 200 <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 201 <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 202 203 <div class="cart_area clearfix"> 204 204 <!--{if $tpl_stock_find[$id]}--> 205 205 <!--{if $tpl_classcat_find1[$id]}--> … … 232 232 </dl> 233 233 <!--{/if}--> 234 </div>235 <!--{/if}-->236 234 </div> 235 <!--{/if}--> 236 <div class="cartin clearfix"> 237 237 <div class="quantity"> 238 238 数量:<input type="text" name="quantity" class="box" value="<!--{$arrProduct.quantity|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> … … 240 240 <br /><span class="attention"><!--{$arrErr.quantity}--></span> 241 241 <!--{/if}--> 242 243 244 245 246 247 248 249 250 251 252 253 <!--{/if}-->242 </div> 243 <div class="cartin_btn"> 244 <!--★カゴに入れる★--> 245 <div id="cartbtn_default_<!--{$id}-->"> 246 <input type="image" id="cart<!--{$id}-->" src="<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg" alt="カゴに入れる" onclick="fnInCart(this.form); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin_on.jpg', this);" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_cartin.jpg', this);" /> 247 </div> 248 <div class="attention" id="cartbtn_dynamic_<!--{$id}-->"></div> 249 </div> 250 </div> 251 <!--{else}--> 252 <div class="cartbtn attention">申し訳ございませんが、只今品切れ中です。</div> 253 <!--{/if}--> 254 254 </div> 255 255 <!--▲買い物かご--> 256 257 256 </div> 257 </div> 258 258 </form> 259 259 <!--▲商品-->
Note: See TracChangeset
for help on using the changeset viewer.