Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
対象の商品が 0 件の場合、フィルター オプションを非表示にするにはどうすればよいですか?
後ろに商品があるオプションのみを表示したいと思います。
これはMagento Adminにあります:
管理画面で、 に移動しCatalog -> Attributes -> Manage Attributesます。
Catalog -> Attributes -> Manage Attributes
レイヤード ナビゲーションに表示されている商品が 0 個の属性を選択します。
変更Use in Layered Navigation-> Filterable(with results).
Use in Layered Navigation
Filterable(with results)
それはそれを行う必要があります。更新/再インデックスなどが必要になる場合がありますが、わかりません。