OneOfficeERP 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
In the Filters and Categories section, make sure Enable Field Filters (Categories) is enabled. The categories are pulled from the Website Item Fields table. The field filters such as Item Group, Brand, etc. are reused 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.
Item Groups are handled a little differently due to its tree structure. Item Group records are fetched if the following conditions are all satisfied:
Each card links to the respective Item Group page.
The other categories' records are simply fetched irrespective. If you want to hide certain records here too (e.g. in Brand), you can add a custom Show in Website field and it will filter out those records that have this field disabled.
Custom doctypes that are linked to Website Item via a link field can also be included here along with Item Group, Brand, etc.