質問 > フロント機能 > この商品をチェックした人はこんな商品をチェックしてますの列数を2列から3列にする方法 |
フロント機能
フラット表示 | 前のトピック | 次のトピック |
投稿者 | スレッド |
---|---|
hirororo |
投稿日時: 2009/3/27 21:40
対応状況: −−−
|
半人前 登録日: 2009/3/23 居住地: 投稿: 19 |
Re: この商品をチェックした人はこんな商品をチェックしてますの列数を2列から3列にする方法 ご返信有難うございます。
仰るとおり元はカスタマイズされた機能です。 下記に、表示部のソースを記載いたします。 <!-- ▽ check item --> <!--{if $arrRecommend}--> <h2 class="mt15"><img src="<!--{$TPL_DIR}-->img/hl/tm_checkitem.gif" width="480" height="35" alt="この商品をチェックした人はこんな商品をチェックしています" /></h2> <div class="mBox2" id="checkBox"> <!--{section name=cnt loop=$arrRecommend}--> <!--{if ($smarty.section.cnt.index % 2) == 0}--> <!--{if $arrRecommend[cnt].product_id}--> <!-- 左列 --> <div class="checkBoxL"> <!--{if $arrRecommend[cnt].main_list_image != ""}--> <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> <!--{else}--> <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> <!--{/if}--> <p><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=130&height=130" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a></p> <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> <h3 class="checkName"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> <p class="checkPrice"> <!--{if $price02_min == $price02_max}--> <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{/if}-->円</p> <!--{if $arrRecommend[cnt].comment != null || $arrRecommend[cnt].comment != ""}--> <p class="checkExp"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> <!--{/if}--> </div> <!-- 左列 --> <!--{/if}--> <!--{/if}--> <!--{if ($smarty.section.cnt.index % 2) != 0}--> <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}--> <!--{if $arrRecommend[cnt].product_id}--> <!-- 右列 --> <div class="checkBoxR"> <!--{if $arrRecommend[cnt].main_list_image != ""}--> <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> <!--{else}--> <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> <!--{/if}--> <p><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=130&height=130" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a></p> <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> <h3 class="checkName"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> <p class="checkPrice"> <!--{if $price02_min == $price02_max}--> <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{else}--> <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> <!--{/if}-->円</p> <!--{if $arrRecommend[cnt].comment != null || $arrRecommend[cnt].comment != ""}--> <p class="checkExp"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> <!--{/if}--> </div> <br class="clear" /> <!-- 右列 --> <!--{/if}--> <!--{/if}--> <!--{if $smarty.section.cnt.last}--> <br class="clear" /> </div> <!--{/if}--> <!--{/section}--> <!--{/if}--> <!-- ▲ check item end --> |
フラット表示 | 前のトピック | 次のトピック |