For ease of control and display, the items in CS-Cart are grouped into categories (product groups). The category system allows you to organize a catalog in the form of a tree with many branches, so that customers can find the right product. A category can have any number of nested subcategories.
Add-on “Categories on the home page”
Often, for the convenience of navigation on the site or in order to attract the attention of visitors, it is necessary to bring to the main category of goods (sometimes with subcategories). Module Categories on the home page adds block MS Categories , block, which displays the information in the right place on any page in a neat form. It also displays images for categories and allows you to show subcategories as a partially collapsed list (the number of displays before the expand button is adjusted).
The add-on has several types of display.
Default category block view:
View of the block in the style of Flip Card:
View of the category block with minor additions to the design styles:
Features of add-on
- Simple installation and initial setup
- Neat output in the block.
- The output of category icons.
- The output subcategories as a partially collapsed list.
No posts found
After downloading the module, it is installed by standard CS-Cart tools on the Administrator Panel page → Add-ons→ Manage add-ons → Upload & Install add-on (+).
The module does not require pre-configuration, is ready to work immediately after installation. In the settings, you can specify the number of subcategories that will be displayed before the expand (button button More +).
Working with functionality
The adding a block to a page
Go to Admin Panel → Design → Layouts → Layouts to add a block to the home page.
There choose the desired page for example Home page.
Then at the desired location click Add grid or Block (+) → Add Block.
If the block is not already created, click Create New Block and select MS: Categories for the home page.
Enter a block name (for example, MS Categories) and click Create.
Block Setup Options. Standard for CS-Cart.
If an icon is attached to a category, it will be displayed in the block. The finished block looks like this:
There are also additional settings for the block:
You can change the display view by turning on the Flip Card display:
Disable subcategories display - do not show subcategories for all display types.
Arrange categories to the right of the image- for display type Flip Card specifies where to display text relative to the category image.
On the Content tab you can specify which categories to display:
v1.2.3 from 06.02.2022
[*] Add-on code standardization
v1.2.2 from 20.09.2021
[*] Language variables was changed
v1.2.1 from 08.09.2021
[*] Removed unnecessary queries to unselected categories
v1.2.0 from 08.09.2021
[+] Added display as Flip card
[+] Added display of selected categories
v1.1.0 from 23.04.2021
[+] Added display in 3 columns for the mobile version
[*] Code refactoring.
v1.0.4 from 18.03.2021
[*] Changed language variables