ecshop教程:让ecshop首页中新品上市的商品下面出现购买和收藏两个按钮!
<p class="img"><a href="{$goods.url}" rel="external nofollow" rel="external nofollow" ><img src="{$goods.thumb}" alt="{$goods.name|escape:html}"/></a></p>
<p class="name"><a href="{$goods.url}" rel="external nofollow" rel="external nofollow" title="{$goods.name|escape:html}">{$goods.short_style_name}</a> <br />
<a href="javascript:addToCart({$goods.id})" rel="external nofollow" title="在线购买"><font color=#730818>订购</font></a> | <a href="javascript:collect({$goods.id});" rel="external nofollow" title="收藏到我的收藏夹里"><font color=#730818>收藏</font></a>
</p>
<p class="price">
<!-- {if $goods.promote_price neq ""} -->
市场价格:{$goods.promote_price}
<!-- {else}-->
本店价格:{$goods.shop_price}
<!--{/if}-->