問題描述
我正在優(yōu)化 magento 商店,我遇到了一些建議對具有大量 SKU 的商店使用平面產(chǎn)品目錄的帖子.
I am in the process of optimizing magento store, and I've run across a couple of posts that recommend using the Flat Product Catalog for stores with a large amount of SKUs.
因為我有超過 1 萬種產(chǎn)品,所以我想嘗試一下.但是,當使用平面產(chǎn)品目錄時,只有少數(shù)幾個屬性會加載到產(chǎn)品對象中(例如 SKU、名稱、簡短描述).我的模板在搜索/瀏覽視圖中顯示了一些其他屬性,例如制造商和顏色.
As I have over 10K products I thought I'd give it a try. However, when using the Flat Product Catalog only a select few attributes are loaded in product object (e.g. SKU, name, short description). And my template displays a few other attributes in the search/browse view, such as Manufacturer and Color.
有沒有辦法將這些屬性添加到平面產(chǎn)品目錄表中,以便它們也可以被訪問?
Is there a way to add these attributes to the flat product catalog table so they too can be accessed?
推薦答案
1.4.xx,在Flat Product Catalog"中進入你想使用的屬性,確定屬性用于產(chǎn)品列表" 設置為是.進行更改后,重新索引平面產(chǎn)品數(shù)據(jù)"
1.4.x.x, just go into the attributes you want to be used in the "Flat Product Catalog" and make sure the property "Used in Product Listing" is set to Yes. Upon making changes, reindex "Flat Product Data"
以下屬性會導致該屬性包含在平面產(chǎn)品目錄"中:
The following properties cause the attribute to be included in the "Flat Product Catalog":
"Use in Layered Navigation" = Yes
"Used in Product Listing" = Yes
"Used for Sorting in Product Listing" = Yes
這篇關于我可以在 magento 的平面產(chǎn)品目錄表中添加其他屬性嗎?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!