首页 文章

在分层导航的默认重量属性中过滤Magento中的产品

提问于
浏览
1

我已经设置了分层导航来过滤Magento中的产品 . 要将属性设置为可过滤,我已在管理区域中选中了“在分层导航中显示”和“可过滤结果” . 但是,这些设置不适用于默认权重属性 .

我打算创建一个自定义权重属性,使其可以过滤 . 它将是一个选择属性,因为产品将具有一组固定的权重 . 唯一的问题是客户必须在两个地方输入重量 .

有没有办法使用默认权重属性实现按权重过滤或者我应该继续创建自定义属性吗?

1 回答

  • 1

    Is there a way to achieve filtering by weight using the default weight attribute ? - 不,

    由于权重属性默认为 text input field type 并且要在分层导航中使用属性,因此它应该是 dropdown 并且还应该设置 filterable with results and use as layered navigation . 你可以使用默认的 weight 属性来实现't change the default weight attribute/even other already saved attribute field type. So it' .

    所以基本上,你必须创建另一个自定义权重属性,我建议你在范围范围内创建 . (通过说 Fixed set of weight 我猜你的意思相同) . 我建议你把它称为 Weight range 作为属性标签 . 最后,混淆属性冗余转到属性集并在同一个地方管理 weightweight range ,这样会很好 .

相关问题