HowTo: Manage a big number of categories

Edit on GitHub

Overview

The default Zed UI for the Category section comes in the form of a tree, which is handy for managing nested categories but impossible to use with a large number of categories. To cope with such cases, we’ve introduced a new Category section view in the form of a table, where categories are listed, paginated, and can be easily found by searching.

Installation

Perform the following steps to enable the view:

  1. Install the spryker/category-gui module by running the command:
composer require "spryker/category-gui":"^1.0.0"
  1. Configure the Zed navigation to point to the new page. Insert the following code snippet into config/Zed/navigation.xml:
<?xml version="1.0"?>
<config>
    <category>
        <label>Category</label>
        <title>Category</title>
        <bundle>category-gui</bundle>
        <controller>list</controller>
        <action>index</action>
        <order>0</order>
        <shortcut>c</shortcut>
        <icon>fa-sitemap</icon>
    </category>
</config>