房天下 > 房天下问答 > 买房 > 看房选房
  • ecshop如何不同楼层显示不同品牌?

    楼层 举报

    提问者:飞鹰主页

    发布于2015-03-27 北京市

相关搜索推荐

共1个回答
  • hepohht 丨Lv 3
    首页楼层般都cat_goods.lbi文件通台控制楼层楼层品牌调用要相应位置填写我举例仅供参考哦 <?php $GLOBALS['smarty']->assign('catbrand',get_cat_brands($GLOBALS['smarty']->_var['goods_cat']['id'], 5)); ?> {foreach from=$catbrand item=item name=catbrand} <li class="li {if $smarty.foreach.catbrand.first}first{/if} {if $smarty.foreach.catbrand.last}SCREEN-SHOW{/if}"> <div class="img"><a href="{$item.url}" target="_blank" title="{$item.name|escape:html}"><img src="data/brandlogo/{$item.logo}" width="85" height="50" alt="{$item.name|escape:html}" /></a></div> <h4><a href="{$item.url}" target="_blank" title="{$item.name|escape:html}">{$item.name}</a></h4> <p>{$item.desc|truncate:12}</p> </li> {/foreach}
    +10 2015-03-27 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。