`product`標簽使用示例:
~~~
{product cid='2' pagesize='10'}
<li><a href="{$product.url}"><img src="{$product.litpic}" alt="{$product.title}" /><br/>{$product.title}</a></li>
{/product}
~~~
`product`標簽參數:
| 參數 | 說明 |
| --- | --- |
| cid | 欄目id |
| field | 獲取的字段,如:title、publishtime、description。。。 |
| orderby | 排序規則 |
| limit | 限制條數(pagesize只能用一個) |
| pagesize | 分頁輸出 |
可調用字段
| 字段 | 說明 |
| --- | --- |
| url | 產品鏈接 |
| title | 產品標題 |
| keywords | 關鍵詞 |
| description | 產品描述 |
| price | 產品價格 |
| brand | 品牌 |
| units | 單位 |
| publishtime | 發布時間 |
| updatetime | 更新時間 |
| click | 點擊量 |
| litpic | 縮略圖 |