Knowledge Base

Shop by Category

  • 143views
  • February 7, 2024

Shop by Category

BizCentric offers a Shop by Category (/shop-by-category) page out of the box, where users can navigate to relevant products based on their needs without having to use filters right away.

To set up the categories (in the tabs) for this page, head over to:

E Commerce Settings > Filters and Categories

Within the “Filters and Categories” section, ensure that “Enable Field Filters (Categories)” is activated. The categories are sourced from the Website Item Fields table, where field filters like Item Group, Brand, etc., are repurposed as categories on this page.

Once this is done, you will accordingly see tabs on the Shop by Category page (/shop-by-category).

Additionally, you can add a slideshow to this page (as seen above) via the Shop By Category section in E Commerce Settings.

Fetching records in categories

Item Groups

Item Groups are managed in a unique manner due to their hierarchical structure. Item Group records are retrieved only if the following conditions are met:

  • The “Show in Website” field is activated for the Item Group.
  • The Item Group is either the topmost group node (with “Is Group” enabled and parent set to ‘All Item Groups’) or the topmost leaf node (with “Is Group” disabled and parent set to ‘All Item Groups’).

Each card is linked to its corresponding Item Group page.

Other Categories

The records of other categories are fetched regardless of their conditions. If you wish to conceal specific records here as well (such as in the “Brand” category), you can incorporate a custom “Show in Website” field. This field will then filter out the records that have it deactivated.

Note: Custom doctypes that are linked to Website Item via a link field can also be included here along with Item Group, Brand, etc.