質問 > フロント機能 > 新着商品の商品数を変更したい |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
inari |
投稿日時: 2012/2/11 14:07
対応状況: −−−
|
常連 ![]() ![]() 登録日: 2011/6/18 居住地: 投稿: 42 |
Re: 新着商品の商品数を変更したい このようなブロック内容です。
<div class="topitem-line-list"> <!--{section name=cnt loop=$arrProducts}--> <!--{assign var=id value=$arrProducts[cnt].product_id}--> <!--{* ステータスによって表示内容を変更する flg_1 … オススメ flg_2 … 限定品 flg_3 … 先行予約 flg_4 … お問合せ商品 flg_5 … セール flg_6 … 会員限定 flg_7 … プレゼント *}--> <!--{assign var=flg_cnt value=1}--> <!--{section name=flg loop=$arrProducts[cnt].product_flag|string_format:"%014d"|count_characters}--> <!--{assign var=flg_$flg_cnt value=$arrProducts[cnt].product_flag[flg]}--> <!--{assign var=flg_cnt value=$flg_cnt+1}--> <!--{/section}--> <!-- BEGIN <!--{$arrProducts[cnt].name|escape}-->の情報 --> <!--{if $arrProducts[cnt].main_list_image != ""}--> <!--{assign var=image_path value="`$arrProducts[cnt].main_list_image`"}--> <!--{else}--> <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> <!--{/if}--> <div class="topitem-box-wrap"> <div class="topitem-box-photo" onkeypress="itemClick" onclick="itemClick('<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}--><!--{$smarty.const.PAGE_EXTENSION}-->')" title="<!--{$arrProducts[cnt].name|escape}-->の詳細へ"><!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}--><div class="soldout_overlay"></div><!--{/if}--><!--{if $arrProducts[cnt].news_icon == "on"}--><div class="new_overlay"></div><!--{/if}--><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}--><!--{$smarty.const.PAGE_EXTENSION}-->"><img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div> <div class="topitem-box-data"> <h3> <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}--><!--{$smarty.const.PAGE_EXTENSION}-->"><!--{$arrProducts[cnt].name|escape}--></a> </h3> <!--{* プレゼント時 *}--> <!--{if $flg_7}--> <div class="topitem-box-price members center">PRESENT</div> <!--{* 会員限定で非ログイン時 *}--> <!--{elseif $flg_6 && !$tpl_login}--> <div class="topitem-box-price members center">MEMBER PRICE</div> <!--{else}--> <div class="topitem-box-price">PRICE: <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{/if}--><!--{$smarty.const.MONETARY_UNIT}--> </div> <!--{/if}--> <div class="topitem-box-comment"> <!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--> </div> <div class="item-box-btn"> <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}--><!--{$smarty.const.PAGE_EXTENSION}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/common/btn-detail-on.jpg','detail<!--{$arrProducts[cnt].product_id}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/common/btn-detail.jpg','detail<!--{$arrProducts[cnt].product_id}-->');"><img src="<!--{$TPL_DIR}-->img/common/btn-detail.jpg" alt="商品詳細へ" name="detail<!--{$arrProducts[cnt].product_id}-->" id="detail<!--{$arrProducts[cnt].product_id}-->" /></a> </div> </div> <br class="clear" /> </div> <!-- END <!--{$arrProducts[cnt].name|escape}-->の情報 --> <!--{/section}--> </div> </div> <!--{* ▲ END #block-newitem *}--> |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
![]() |
inari | 2012/2/11 10:08 |
![]() |
aska824 | 2012/2/11 12:20 |
» ![]() |
inari | 2012/2/11 14:07 |
![]() |
fukap | 2012/2/11 20:50 |
![]() |
inari | 2012/2/13 8:20 |
![]() |
fukap | 2012/2/13 18:25 |
![]() |
inari | 2012/2/13 19:45 |
![]() |
fukap | 2012/2/14 13:57 |
![]() |
inari | 2012/2/14 18:24 |
![]() |
inari | 2012/2/15 14:24 |
![](images/pixel.gif)