質問 > フロント機能 > おすすめ商品の表示を変えたい |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
tonton |
投稿日時: 2009/3/11 23:33
対応状況: −−−
|
仙人 登録日: 2008/8/14 居住地: 投稿: 437 |
Re: おすすめ商品の表示を変えたい /data/smarty/templates/default/bloc/best5.tplのソースを下記に変更で1行、5つ表示になるのではないかと思います。
よかったら試してみてください。 <!--▼おすすめ情報ここから--> <!--{if count($arrBestProducts) > 0}--> <div id="recomendarea"> <h2> <img src="<!--{$TPL_DIR}-->img/top/osusume.jpg" width="400" height="29" alt="おすすめ情報" /> </h2> <!--{section name=cnt loop=$arrBestProducts step=1 max=5}--> <div class="recomendblock"> <div class="recomendleft"> <!--{if $arrBestProducts[cnt].main_list_image != ""}--> <!--{assign var=image_path value="`$arrBestProducts[cnt].main_list_image`"}--> <!--{else}--> <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> <!--{/if}--> <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"> <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=48&height=48" alt="<!--{$arrBestProducts[cnt].name|escape}-->" /> </a> <h3> <a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrBestProducts[cnt].product_id}-->"><!--{$arrBestProducts[cnt].name|escape}--></a> </h3> <!--{assign var=price01 value=`$arrBestProducts[cnt].price01_min`}--> <!--{assign var=price02 value=`$arrBestProducts[cnt].price02_min`}--> <p>価格<span class="mini">(税込)</span>:<span class="price"> <!--{if $price02 == ""}--> <!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> <!--{else}--> <!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}--> <!--{/if}-->円 </span> </p> <p class="mini"><!--{$arrBestProducts[cnt].comment|escape|nl2br}--></p> </div> </div> <!--{/section}--> </div> <!--{/if}--> <!--▲おすすめ情報ここまで--> |
フラット表示 | 前のトピック | 次のトピック |
題名 | 投稿者 | 日時 |
---|---|---|
おすすめ商品の表示を変えたい | ecbg | 2009/3/11 17:01 |
Re: おすすめ商品の表示を変えたい | seasoft | 2009/3/11 17:19 |
Re: おすすめ商品の表示を変えたい | ecbg | 2009/3/11 19:34 |
Re: おすすめ商品の表示を変えたい | takoyaki | 2009/3/11 22:31 |
» Re: おすすめ商品の表示を変えたい | tonton | 2009/3/11 23:33 |
Re: おすすめ商品の表示を変えたい | ecbg | 2009/3/12 14:26 |
Re: おすすめ商品の表示を変えたい | tonton | 2009/3/12 15:43 |
Re: おすすめ商品の表示を変えたい | ecbg | 2009/3/12 17:45 |
Re: おすすめ商品の表示を変えたい | ecnobu | 2009/7/22 21:06 |
Re: おすすめ商品の表示を変えたい | ecbg | 2009/7/22 21:26 |
Re: おすすめ商品の表示を変えたい | ecnobu | 2009/7/22 22:10 |