织梦DEDECMS首页调用商品价格
代码如下:
{dede:arclist addfields='trueprice,price' channelid='6'col=5 typeid=6 row=10 titlelen=100 orderby='pubdate' imgwidth=100 imgheight=100}
[field:image/]
优惠价:[field:trueprice/]
市场价:[field:price/]
[field:title/]
{/dede:arclist}
[field:image/]
优惠价:[field:trueprice/]
市场价:[field:price/]
[field:title/]
{/dede:arclist}
注:addfields='trueprice,price' 是商品优惠价和市场价的字段,调用其他字段类似。
本文地址:
https://www.dedejiaocheng.com/tutorial/537.html(转载请保留)