隐藏过滤器选项与 0 产品在 Magento.



当过滤器选项有 0 个产品时,如何隐藏过滤器选项?

我只想展示后面有产品的选项。

这个在Magento管理中:

  1. 在管理员中,转到 Catalog -> Attributes -> Manage Attributes

  2. 选择在包含 0 个产品的分层导航上显示的属性。

  3. 更改Use in Layered Navigation -> Filterable(with results) .

这应该可以做到。您可能需要刷新/重新索引等等,不确定。

最新更新