Filter module settings
Every field of the filter module form, in the order shown on screen: the basic settings, the chain of levels, the texts and the design.
The list of filter modules
When you open Attribute Chain Filter PRO you see the list of your filter modules, with their name and status. From here you can:
- create a new filter module with the add button (the blue +, or Add Module on OpenCart 1.5);
- edit a filter module with its pencil button (Edit on OpenCart 1.5);
- delete a filter module with its bin button (Delete on OpenCart 1.5). The shop asks you to confirm.
Each filter module is independent. You can, for example, have a wide one under the slideshow of the home page and a narrow one in the left column of category pages, each with its own chain.
On OpenCart 2.3 and 3.0 the filter modules also appear under Attribute Chain Filter PRO in the Modules list of OpenCart.
Basic settings
| Setting | What it does |
|---|---|
| Name | The name of the filter module in the administration and in Design > Layouts. Shoppers do not see it. It must have between 3 and 64 characters. |
| Status | Enabled shows the module on the layouts where you placed it. Disabled hides it without removing it from the layouts. Default: Enabled. |
Filter Groups (ordered)
This section holds the chain. Each row is one level, that is, one dropdown in the shop, shown in the order of the rows.
Adding and removing levels
Click Add level (Add Level on OpenCart 1.5) to add a row at the end of the chain. Its dropdown lists all the filter groups of Catalog > Filters; choose the group for that level.
The red bin button (Remove on OpenCart 1.5) deletes a level. On OpenCart 3.0 it always removes the last level of the chain, whichever row you click it on; to change a level in the middle of the chain, choose a different group in its dropdown instead. On OpenCart 1.5 and 2.3 it removes the row you click.
After removing a level, check the placeholders of the remaining levels before saving: they keep their position in the list, not their group.
A filter module needs at least one level. If you save without levels, the form shows Please add at least one Filter Group.
Placeholders
Next to each level there is one text box per shop language, marked with the language flag. The text you type is shown in the shop twice: as the small label above the dropdown and as the first, empty entry of the dropdown, for example Choose a brand.
If you leave a placeholder empty, the shop shows Select... in its place. That text exists only in English, so fill in the placeholders for every language of your shop.
Button Text
The text of the search button, one box per shop language. A new filter module starts with Search in every language. Change it to something that tells the shopper what happens, for example Find parts.
Show counts
Enabled shows the number of matching products after each value in the dropdowns, for example Golf (24). The number counts the enabled products of the current store that have this value and every value chosen in the levels before it. Disabled shows the values without numbers. Default: Enabled.
Design
These fields control how the filter box looks. OpenCart 1.5 uses some of them differently; see the last section of this chapter. The numeric fields are in pixels; negative numbers are saved as 0.
| Setting | What it does | Default |
|---|---|---|
| Extra CSS class | A CSS class added to the box, for your own styling. See below. | empty |
| Font size (px) | Text size of the dropdowns and the button. The field accepts 10 to 24. | 15 |
| Label size (px) | Text size of the labels above the dropdowns. The field accepts 10 to 20. | 13 |
| Select height (px) | Height of the dropdowns and of the search button. The field accepts 36 to 64. | 44 |
| Radius (px) | Corner rounding of the box. The dropdowns and the button use a slightly smaller rounding. The field accepts 0 to 32. | 16 |
| Gap (px) | Space between the dropdowns and the button. The field accepts 0 to 32. | 12 |
| Padding (px) | Space between the edge of the box and its content. The field accepts 0 to 32. | 12 |
| Shadow | Enabled draws a soft shadow around the box. Disabled shows a flat box. | Enabled |
| Accent color | First colour of the search button gradient, and the border colour of a dropdown when the shopper points at it or uses it. | #2563eb |
| Accent color 2 | Second colour of the search button gradient. Use the same colour as Accent color for a plain button. | #3b82f6 |
| Text color | Colour of the text in the box and the dropdowns. | #111827 |
| Muted color | Colour of the labels above the dropdowns. | #6b7280 |
| Background color | Background of the box. | #ffffff |
| Select background | Background of the dropdowns. | #f9fafb |
| Border color | Colour of the border of the box and of the dropdowns. | #e6e8ec |
Extra CSS class
The class is added to the outer element of the box, so your theme's stylesheet can target one filter module without affecting the others. Two classes are already built in and can be typed here directly:
is-compactmakes the labels one pixel smaller and the dropdowns and button six pixels lower;is-darkswitches the box to a dark colour scheme, overriding the colours above.
You can type several classes separated by a space, for example is-compact is-dark.
Layout Assignment
Below the form, the Layout Assignment panel reminds you that a filter module appears in the shop only after you place it on a layout. Its Go to Design > Layouts button opens Design > Layouts in a new browser tab.
In Design > Layouts, edit a layout (for example Home or Category), add Attribute Chain Filter PRO > your module name to a position and save. Content Top and Content Bottom show the box across the page; Column Left and Column Right stack the dropdowns and make the button full width.
Saving
Click the save button at the top right (Save on OpenCart 1.5). The shop returns to the list of filter modules with the message Success: You have modified Attribute Chain Filter PRO! The cancel button (the arrow, or Cancel on OpenCart 1.5) returns to the list without saving.
Only administrators whose user group has modify permission for the extension can save or delete. Others see Warning: You do not have permission to modify Attribute Chain Filter PRO!
OpenCart 1.5
The OpenCart 1.5 form has the same settings, with some differences in names and effect.
Different labels
| OpenCart 2.3 and 3.0 | OpenCart 1.5 |
|---|---|
| Name | Module Name |
| Filter Groups (ordered) | Levels Configuration |
| Button Text | Search Button Text |
| Show counts | Show Counts |
| Design | Design Settings |
| Extra CSS class | Class Name |
| Radius (px) | Corner Radius (px) |
Design in the OpenCart 1.5 shop
The filter box uses the classic OpenCart 1.5 box, with the heading Attribute Chain Filter PRO. The placeholders appear only inside the dropdowns; there are no labels above them. As a result:
- Class Name, Label Size (px) and Muted Color have no effect;
- Accent Color is the colour of the search button and Accent Color 2 its colour when the shopper points at it.
Module Placement
On OpenCart 1.5 you choose the layouts inside the module form, in the Module Placement section, instead of in Design > Layouts:
- Click Add Placement to add a row.
- Choose the Layout, the Position (Content Top, Content Bottom or Column Left), the Status and the Sort Order among the other modules of that position.
- Add more rows to show the same filter module on several layouts. Remove deletes a row.
On OpenCart 1.5 the filter modules are shown in the default store only.
Still need help?
Open a support ticket from your account and our team will look at your store with you.