echsop模板遍历文件:
1 {foreach from=$goods_list item=goods} 2 {$goods.name} 3 {/foreach}
不知道为什么ecshop中foreach像个注释,QAQ~~
1 <!--{foreach from=$goods_list item=goods}--> 2 {$goods.url} 3 {$goods.name} 4 <!--{/foreach}-->
echsop模板遍历文件:
1 {foreach from=$goods_list item=goods} 2 {$goods.name} 3 {/foreach}
不知道为什么ecshop中foreach像个注释,QAQ~~
1 <!--{foreach from=$goods_list item=goods}--> 2 {$goods.url} 3 {$goods.name} 4 <!--{/foreach}-->