Magento - Assign attributes to categories in layered navigation

非 Y 不嫁゛ 提交于 2019-12-11 02:29:06

问题


I've been working with Magento for a few months now. I have a Products category with 7 sub-categories. These categories are various brands with sub-categories of types of products. I'm looking to add certain attributes to each of these brand's products individually.

For example, in 'Brand 1' there is 'Types of Drawers' attribute of: 2 Drawer, 4 Drawer. There are others I need to sort by according to what category it is in.

The problem is that Magento doesn't seem to do this natively. That attribute, 'Types of Drawers' is showing up on every page previous to the specific brand page that it applies to. The scope is too large on these attributes.

I've already purchased and downloaded Advanced Navigation from GoMage, but that doesn't seem to solve my issue.

Why is this not part of Magento and how can I make this work?


回答1:


The attributes available to filter are populated depending on what products are visible on that category page. Without modifying the functionality, all I can think of is to set the Products category 'Is Anchor' to be 'No' and display the subcategories instead but that may not be what you want to do.




回答2:


Check out this link http://inchoo.net/ecommerce/magento/how-to-add-new-custom-category-attribute-in-magento/ Here you can find instruction how to add new custom category attribute.



来源:https://stackoverflow.com/questions/12269144/magento-assign-attributes-to-categories-in-layered-navigation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!