Usage

Prerequisities

To use this module you need PhocaCart, obviously.

After installing this module, just open your module manager and add new n3t PhocaCart Module to any position you want. After that check the configuration of this module.

Configuration

Basic settings

Root category

Select root category to show subcategories in this module. If you leave empty, root categories will be displayed, however if you choose one, only subcategories of selected category will be displayed.

Expand all subcategories

Select whether to automatically expand all subcategories, or not. If yes, all categories will be displayed expanded, so whole tree will be disaplyed. This is similar to core PhocaCart Category module.

Always expanded

This options is available only if 'Expand all categories' option is disabled.

Select categories which will be always displayed expanded. This could be usefull if you have somee critical category you want to show to your users directly.

Select whether and how you wish to display featured categories (PhocaCart 4.0.6+).

When 'Show all' is selected, it has no special function. When 'Show only non-featured' is selected, featured categories will not appear in this module (note, that this will also not display subcategories of featured categories, whether it is featured or not). Finally, when 'Show only featured' is selected, only featured categories will be displayed. Note, that this is relative to selected root category, so if there are no direct featured subcategories of selected root category (if no root category is selected then this applies to root featured categories), no categories will be displayed at all in this module.

Layout settings

Layout

Choose which layouts to use. Module comes with few predefined layouts for Bootstrap 5 and UIkit (YOOtheme):

  • default - default layout using common Bootstrap 5 classes
  • bs5-listgroup - Bootstrap 5 list group
  • bs5-collapse - Bootstrap 5 list group with collapse efect
  • uikit-nav - UIkit nav list
  • uikit-accordion - UIkit nav accordion list

Note that bs5-collapse and uikit-accordion layouts loads all categories, but hide them using javascript effect.

Description length

If value grater than zero is entered, truncated description of category will be displayed under category name.