Ecshop调用促销商品

<!-- {if $promotion_goods} -->
   <!--{foreach from=$promotion_goods item=goods name="promotion_foreach"}-->
      <li>
         <a href="{$goods.url}" class="lit"><img src="{$goods.thumb}" alt="" /></a>
         <p class="sn"><a href="{$goods.url}">{$goods.short_name}</a></p>
         <p class="sj">{$goods.promote_price}</p>
      </li>
   <!--{/foreach}--> 
<!-- {/if} -->
原文地址:https://www.cnblogs.com/shcolo/p/3557137.html