Introduction
The "Blocks" module is for creating structures that contain sets of attributes. You can use it in whatever way suits your specific case. The core idea of the module is reusable entities (blocks) that contain sets of attributes and additional content.
For example, you can create a "footer" block and use it on all or screens of your project.
Main interface elements
1. Search bar
Finds blocks by name. Enter the block name in the search field and select the block from the dropdown list.
2. List of blocks
Shows all created blocks. The table has 12 rows, one for each block type: Repeat Purchase Block, Similar products block, Cart Complement Block, Similar Products to Cart Block, Frequently ordered products block, Slider, Trending Products Block, Recently Viewed Block, Personal Recommendations Block, Common block, Product block, Similar Products to Wishlist Block. The button in a type's row expands the list of blocks created with that type.
By purpose, these types fall into groups (the interface doesn't group them):
Basic types:
- Common block (opens in a new tab)
- Similar products block (opens in a new tab)
- Product block (opens in a new tab)
Recommendation and dynamic types:
- Cart Complement Block (opens in a new tab): items that complement the cart
- Similar Products to Cart Block (opens in a new tab): items similar to those in the cart
- Similar Products to Wishlist Block (opens in a new tab): items similar to those in the wishlist
- Frequently ordered products block (opens in a new tab): items frequently ordered together
- Trending Products Block / Recently Viewed Block / Repeat Purchase Block / Personal Recommendations Block (opens in a new tab): personalized selections
- Slider (opens in a new tab): a slider with configurable display time
You select any of the types above in the Type field of the Create a new block form. Clicking Add creates a block of the selected type.
The table has three columns, but only two of them have headers:
- Name
- unique identifier by which the entity can be retrieved
- the third column: row actions (no header)
The "Name" column shows the block type name and a button that expands the list of blocks of that type. Once expanded, the list shows the names of the blocks of that type. The "Marker" column shows each block's unique unique identifier by which the entity can be retrieved. The third column shows the actions available for each block:
Edit: opens the block editing page
Information: opens a window with block details: the block id, creation date, and last modified date
Delete: deletes the block
3. Help buttons for block types
Each block type name in the table has a Help button next to it. Click it to see what the type is for and when to choose it, without opening the documentation. All 12 types have hints, and they appear in the language selected in the admin panel.
4. Block creation form
The block creation form has three input fields:
- Name: required, the block name;
- Type: a dropdown list where you select the block type;
- Marker: required, the block's unique unique identifier by which the entity can be retrieved (only Latin letters and the "_" and "-" characters are allowed);
5. Common tools for recommendation and dynamic blocks
All settings screens of recommendation and dynamic blocks follow the same template and share these tools:
- Audience Filter (opens in a new tab): a separate editor for the block's audience. You select the user attribute set and the attribute once for the whole filter, and each rule has its own condition, value, and categories.
- Block preview (opens in a new tab): a window that previews the block's result, opened with the Open in modal button. It has the Basic tab (products the block will return), the Explanation tab (why each product was selected), and the Investigate tab (debugging diagnostics).
- Help button: hints for settings. Each key setting of the block has a Help button next to it. Click it to open a detailed explanation with examples and recommendations. The hint opens on hover, and clicking the button toggles it: it closes an open hint and opens it again.
If the admin panel is set to Russian, all hints appear in Russian. If it's set to English, they appear in English.