バージョン選択

フォーラム

メニュー

オンライン状況

61 人のユーザが現在オンラインです。 (52 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 61
もっと...

サイト内検索

機能要望 > フロント機能 > 新入荷商品ブロックを追加し、商品説明も載せたい

フロント機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
enzine
投稿日時: 2010/8/21 20:19
対応状況: −−−
新米
登録日: 2010/8/20
居住地:
投稿: 4
自分で順位を指定して商品ランキングを表示したい
4個表示にすることはできました。
新しいものから順に並ぶので
ランキングには不向きかもしれません。
自分で順位を指定して表示できればいいのですが・・・


▼productFlag.tpl
<!--▼新着商品ここから-->
<!--{if count($arrFlagProducts) > 0}-->

<div id="weddingRank" class="section">
<h3 class="indent">ウエディングのお祝い用バルーンギフトランキング</h3>

<!--{section name=cnt loop=$arrFlagProducts step=4}-->

<div class="section">
<p><img src="images/index/rank01.png" alt="バルーンギフトランキング1位" width="155" height="18" /></p>
<p class="item"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[cnt].product_id}-->">
<!--{if $arrFlagProducts[cnt].main_list_image != ""}-->
<!--{assign var=image_path value="`$arrFlagProducts[cnt].main_list_image`"}-->
<!--{else}-->
<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
<!--{/if}-->
<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$arrFlagProducts[cnt].main_image|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrFlagProducts[cnt].name|escape}-->" /> </a></p>
<!--{assign var=price01 value=`$arrFlagProducts[cnt].price01_min`}-->
<!--{assign var=price02 value=`$arrFlagProducts[cnt].price02_min`}-->
<p><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[cnt].product_id}-->"><!--{$arrFlagProducts[cnt].name|escape}--></a><br />
価格<span class="font-size-2minus">(税込)</span>:
<!--{if $price02 == ""}-->
<!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{else}-->
<!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{/if}-->円<br />
<span class="coment"><!--{$arrFlagProducts[cnt].comment|escape|nl2br}--></span></p>
</div>

<!--{assign var=cnt2 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-3` }-->
<!--{if $arrFlagProducts[$cnt2]|count > 0}-->
<div class="section">
<p><img src="images/index/rank02.png" alt="バルーンギフトランキング2位" width="155" height="18" /></p>
<p class="item"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[$cnt2].product_id}-->">
<!--{if $arrFlagProducts[$cnt2].main_list_image != ""}-->
<!--{assign var=image_path value="`$arrFlagProducts[$cnt2].main_list_image`"}-->
<!--{else}-->
<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
<!--{/if}-->
<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$arrFlagProducts[$cnt2].main_image|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrFlagProducts[$cnt2].name|escape}-->" /> </a></p>

<!--{assign var=price01 value=`$arrFlagProducts[$cnt2].price01_min`}-->
<!--{assign var=price02 value=`$arrFlagProducts[$cnt2].price02_min`}-->
<p><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[$cnt2].product_id}-->"><!--{$arrFlagProducts[$cnt2].name|escape}--></a><br />価格<span class="font-size-2minus">(税込)</span>:<em class="font-color-red">
<!--{if $price02 == ""}-->
<!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{else}-->
<!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{/if}-->円</em><br />
<span class="coment"><!--{$arrFlagProducts[$cnt2].comment|escape|nl2br}--></span></p>
</div>
<!--{/if}-->


<!--{assign var=cnt3 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-2` }-->
<!--{if $arrFlagProducts[$cnt3]|count > 0}-->
<div class="section">
<p><img src="images/index/rank03.png" alt="バルーンギフトランキング3位" width="155" height="18" /></p>
<p class="item"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[$cnt3].product_id}-->">
<!--{if $arrFlagProducts[$cnt3].main_list_image != ""}-->
<!--{assign var=image_path value="`$arrFlagProducts[$cnt3].main_list_image`"}-->
<!--{else}-->
<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
<!--{/if}-->
<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$arrFlagProducts[$cnt3].main_image|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrFlagProducts[$cnt3].name|escape}-->" /> </a></p>

<!--{assign var=price01 value=`$arrFlagProducts[$cnt3].price01_min`}-->
<!--{assign var=price02 value=`$arrFlagProducts[$cnt3].price02_min`}-->
<p><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[$cnt3].product_id}-->"><!--{$arrFlagProducts[$cnt3].name|escape}--></a><br />価格<span class="font-size-2minus">(税込)</span>:<em class="font-color-red">
<!--{if $price02 == ""}-->
<!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{else}-->
<!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{/if}-->円</em><br />
<span class="coment"><!--{$arrFlagProducts[$cnt3].comment|escape|nl2br}--></span></p>
</div>
<!--{/if}-->


<!--{assign var=cnt4 value=`$smarty.section.cnt.iteration*$smarty.section.cnt.step-1` }-->
<!--{if $arrFlagProducts[$cnt4]|count > 0}-->
<div class="section lastchild">
<p><img src="images/index/rank04.png" alt="バルーンギフトランキング4位" width="155" height="18" /></p>
<p class="item"><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[$cnt4].product_id}-->">
<!--{if $arrFlagProducts[$cnt4].main_list_image != ""}-->
<!--{assign var=image_path value="`$arrFlagProducts[$cnt4].main_list_image`"}-->
<!--{else}-->
<!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}-->
<!--{/if}-->
<img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$arrFlagProducts[$cnt4].main_image|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrFlagProducts[$cnt4].name|escape}-->" /> </a></p>

<!--{assign var=price01 value=`$arrFlagProducts[$cnt4].price01_min`}-->
<!--{assign var=price02 value=`$arrFlagProducts[$cnt4].price02_min`}-->
<p><a href="<!--{$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{$arrFlagProducts[$cnt4].product_id}-->"><!--{$arrFlagProducts[$cnt4].name|escape}--></a><br />価格<span class="font-size-2minus">(税込)</span>:<em class="font-color-red">
<!--{if $price02 == ""}-->
<!--{$price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{else}-->
<!--{$price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
<!--{/if}-->円</em><br />
<span class="coment"><!--{$arrFlagProducts[$cnt4].comment|escape|nl2br}--></span></p>
</div>
<!--{/if}-->
<!--{/section}-->
</div>
<!--{/if}-->
<!--▲新着商品情報ここまで-->
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   新入荷商品ブロックを追加し、商品説明も載せたい enzine 2010/8/20 18:59
     Re: 新入荷商品ブロックを追加し、商品説明も載せたい AMUAMU 2010/8/21 15:20
       Re: 新入荷商品ブロックを追加し、商品説明も載せたい enzine 2010/8/21 16:49
   » 自分で順位を指定して商品ランキングを表示したい enzine 2010/8/21 20:19
       Re: 自分で順位を指定して商品ランキングを表示したい 55eccube 2010/8/22 10:35
         Re: 自分で順位を指定して商品ランキングを表示したい enzine 2010/8/23 16:49
           Re: 自分で順位を指定して商品ランキングを表示したい AMUAMU 2010/8/23 18:47
           Re: 自分で順位を指定して商品ランキングを表示したい ゲスト 2010/8/23 19:39
           Re: 自分で順位を指定して商品ランキングを表示したい Masashige 2010/8/25 13:11

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は106,528名です
総投稿数は112,619件です

投稿数ランキング

1
seasoft
7369
2
468
3217
3
AMUAMU
2712
4
nanasess
2331
5
umebius
2085
6
h_tanaka
2007
7
yuh
1900
8
mcontact
1709
9
red
1582
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
805
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
balisys
502


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.