%set string category_title=get_category_title(model.category_id,"购物商城")%>
{model.title} - {category_title} - {site.name}
<%template src="_header.html"%> <%set string category_nav=get_category_menu("goods_list", model.category_id)%>
当前位置:
">首页
>
">购物商城
{category_nav}
<
>
<%if(model.albums!=null)%> <%foreach(DTcms.Model.article_albums modelt in model.albums)%>
<%/foreach%> <%/if%>
{model.title}
{model.fields[sub_title]}
货号
{model.fields[goods_no]}
市场价
¥{model.fields[market_price]}
销售价
¥{model.fields[sell_price]}
购买数量
+
-
库存
{model.fields[stock_quantity]}
件
');">立即购买
');">加入购物车
<%template src="_share_js.html"%>
商品介绍
商品评论
{model.content}
<%if(model.is_msg==1)%>
<%template src="_comment_box.html"%>
<%/if%>
销售排行
<%set DataTable hotGoods=get_article_list(channel, 0, 10, "status=0", "click desc,id desc")%> <%loop hotdr hotGoods%>
<%if(hotdr__loop__id<2)%>
{hotdr__loop__id}
<%else%>
{hotdr__loop__id}
<%/if%>
">{hotdr[title]}
<%/loop%>
推荐商品
<%set DataTable redGoods=get_article_list(channel, 0, 4, "status=0 and is_red=1")%> <%foreach(DataRow dr in redGoods.Rows)%>
">
">{dr[title]}
<%datetostr({dr[add_time]},yyyy-MM-dd)%>
<%/foreach%>
<%template src="_footer.html"%>