简体   繁体   English

Magento-在分层导航中为类别分配属性

[英]Magento - Assign attributes to categories in layered navigation

I've been working with Magento for a few months now. 我已经与Magento合作了几个月。 I have a Products category with 7 sub-categories. 我有7个子类别的“产品”类别。 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. 例如,在“品牌1”中,“抽屉类型”属性为:2抽屉,4抽屉。 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. 问题在于Magento似乎不是本机执行此操作。 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. 我已经从GoMage购买并下载了高级导航 ,但是这似乎无法解决我的问题。

Why is this not part of Magento and how can I make this work? 为什么这不是Magento的一部分,我如何进行这项工作?

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. 在不修改功能的情况下,我能想到的就是将“产品类别”的“锚点”设置为“否”,并显示子类别,但这可能不是您想要的。

检查此链接http://inchoo.net/ecommerce/magento/how-to-add-new-custom-category-attribute-in-magento/在这里,您可以找到有关如何添加新的自定义类别属性的说明。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM