ecshop调用指定分类热销-新品-精品

在模板页里首页写上代码:

         <?php
$children = get_children(16);//此处为产品分类ID

$smarty->assign( 'bestGoods16',get_category_recommend_goods('best', $children));

?>

然后在模板文件里调用就行了。

posted @ 2014-06-23 18:09  求必印  阅读(554)  评论(0编辑  收藏  举报