Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
minLevel1
maxLevel7

Installation

Info

This module is optional

...

Inside Content tab, there is an additional input that allows uploading an image.

...

Backend

Note

TODO - BE documentation and review of documentation is needed

Frontend

In order to show icons in the main desktop navigation set options in theme-creativeshop/src/MageSuite_Navigation/layout/default.xml

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.

...

Code Block
<referenceBlock name="navigation.offcanvas">
  <arguments>
    <argument name="show_category_icon_subcats" xsi:type="boolean">true</argument>
  </argument>
</referenceBlock>

...

NoteTODO - BE documentation and review of documentation is needed