武装少女在线观看高清完整版免费,丝袜+亚洲区,少妇被cao高潮呻吟声,午夜伦情电午夜伦情电影,日日躁夜夜躁狠狠躁

幫助

商品參數(shù)新老版本使用方法詳解

2022-03-07 09:12 常見問題

商城中心的商品參數(shù)標(biāo)簽

{eyou:attribute type='newattr' attrid='$eyou.field.attrlist_id'}

   {$attr.name}:{$attr.value}

{/eyou:attribute}



早期產(chǎn)品中心的產(chǎn)品參數(shù)

{eyou:attribute type='auto' attrid='$eyou.field.attrlist_id'}
   {$attr.name}:{$attr.value}
{/eyou:attribute}




attribute 商品參數(shù)列表
 
[基礎(chǔ)用法]
名稱:attribute
功能:獲取當(dāng)前商品的參數(shù)列表,僅在產(chǎn)品詳情頁、列表頁表用,更多調(diào)用方式在示例里。
語法:
{eyou:attribute type='newattr' attrid='$eyou.field.attrlist_id'}
   {$attr.name}:{$attr.value}
{/eyou:attribute}
參數(shù):
aid='' 文檔ID,在arclist標(biāo)簽、list標(biāo)簽之內(nèi),以及內(nèi)容頁模板中一般不需要指定aid屬性,系統(tǒng)會(huì)自動(dòng)獲?。?br style="margin: 0px; padding: 0px;"/>type='' 標(biāo)簽類型,默認(rèn)是手動(dòng),具體可以參考教程底部的示例;
----type='newattr' 新版商城中心的商品參數(shù)
----type='auto' 早期產(chǎn)品中心的產(chǎn)品參數(shù);
empty='' 沒有數(shù)據(jù)時(shí)顯示的文案
mod='' 每隔N行輸出的內(nèi)容
id='' 可以任意指定循環(huán)里的變量名替代field,假設(shè)id='field1',模板調(diào)用如:{$field.title} 變成 {$field1.title}


標(biāo)簽: 商城中心
在線客服
易小優(yōu)
轉(zhuǎn)人工 ×