...
This module adds the possibility to upload an image per category, which is called the `category icon`. The module also provides a helper that allows displaying category icon on the front store.
Table of Contents | ||||
---|---|---|---|---|
|
Installation
Info |
---|
This module is optional |
...
Code Block |
---|
<referenceBlock name="navigation.main"> <arguments> <argument name="show_category_icon_subcats" xsi:type="boolean">true</argument> <argument name="show_category_icon_root" xsi:type="boolean">true</argument> </argument>arguments> </referenceBlock> |
After adding an icon in the admin panel to all or some categories and clearing the navigation cache, the icon will be visible next to the category. An additional class is added to easily style items with an icon.
...