如何在magento分类页的LayeredNavigation中可以用magento后台已有的attributes进行筛选。
首先,进入后台 Catalog > ManageCategories > [点击一个分类] > DisplaySettings
首先,进入后台 Catalog > ManageCategories > [点击一个分类] > DisplaySettings
Magento后台的"Is Anchor"选项选择"Yes"
刷新magento后台的cache,在前台分类的默认shopby中,就会有magento后台已有的attributes进行筛选了。
怎么控制哪些magento attribute用于筛选呢?
进入magento后台 Catalog > Attributes >Manage Attributes
点击需要加入到Layered Navigation的attribute,进入attribute编辑页,
在Frontend Properties栏目中的Use In Layered Navigation选择Filterable的两个选项,保存后刷新magento cache就可以了。