Blocks of recommendations on buyer behavior: they look at this, they buy with this, you looked at it, bestsellers. Taking into account impressions, clicks, CTR and revenue for each block.
Why is it needed
The standard “Recommended Products” must be filled out manually, and no one does this in a large catalogue. Modules for similar products cover this part, but show everyone the same thing and do not answer the question of whether the block pays off at all.
Here the selection comes from behavior: what they watch together, what they buy together, what this visitor personally watched. And next to the block, the revenue that it brought is calculated - based on clicks and orders, and not based on feelings.
Five algorithms
Each block works according to one algorithm. In the free version you can create twoblock and arrange them on different pages.
- They look at this. Products that visitors open along with the current one. Works on any store with traffic, even if there have been no sales yet.
- They buy with this. Products from the same orders. It is calculated based on the store’s entire order history, including those accumulated before installing the module.
- They look and buy together. Both signals at once. It makes sense to start with this algorithm.
- You watched. Recently viewed. The simplest block and usually the most clickable.
- Bestsellers. Bestsellers for the period, by default for90 days.
Revenue report
The module remembers clicks on products in the block. When such a product is included in the order and the order reaches the accounted status, its amount is written to the block account.
The report for each block shows impressions, clicks, CTR, orders, number of products sold, revenue and revenue per impression:
Similar to card A 4,210 impressions 320 clicks 7.6% 18 orders RUB 96,400
Hits on the main page A 1,870 impressions 204 clicks 10.9% 11 orders RUB 71,250
A separate table shows products that are most often purchased after a click in the block, with a link to the card in the admin panel.
The amount of a specific order line is counted, not the entire receipt. If the buyer came to buy a refrigerator, and added from the unitextension cord, the block will be counted as an extension cord. Such a report can be used to decide whether to leave the block or remove it; a completely assigned basket is not suitable for this.
The attribution window is configurable, the default is 14 days. Canceled and unfinished orders do not count towards revenue: the list of statuses taken into account is set in the settings, and when the order status changes, the amount automatically appears in the report or leaves it.
A/B-test of algorithms
The block has a second algorithm and the share of traffic that will see it. Then all that remains is to wait and compare the two lines in the report.
The visitor is assigned to his version: today, tomorrow and in a month he sees the same version of the block. This is important because otherwise the comparison means nothing.
What goes intoblock
- Only included products from the current store with the current availability date.
- Optional - only items in stock.
- Optional - restriction by category.
- Optional - hide what the visitor has already purchased.
- The current product and what is in the cart are automatically removed from the selection.
If there are fewer suitable products than needed, the block is filled with bestsellers, and if there are not enough sales - with new products. A half-empty row on the storefront looks like a layout failure, so the addition is enabled by default. You can switch it to new items or turn it off completely - then the block simply won’t appear.
Output towebsite
- Grid with customizable number of columns or horizontal scrolling.
- Custom block header for each store language.
- The size of pictures and the number of products are customizable.
- The markup coincides with the standard “Recommended Products” block, so the theme design is picked up without changes.
- Separate mode for loading a block by request after loading a page - for stores where pages are served from the cache.
Visitor data
The module stores an anonymized browser identifier in a cookie and the history of browsing, carts and purchases. Names, phone numbers, addresses and e-mails are not collected and are not transmitted anywhere.If the site has a cookie consent banner, specify the name of its cookie in the module settings. Until consent is received, the module will not set its cookie and will not record any events, and the blocks will continue to work on algorithms that do not need the visitor’s history.
Load
Heavy calculations are removed from the block output: connections between products are recalculated in small portions in the background, and a selection of the finished result with caching remains on the page. You don't need Cron for this.
In the admin panel you can see how much data has been accumulated and when the last aggregation was, there are also recalculation and clearing buttons.
What is the difference between the full version
- Personal algorithms. “Personally for you” - selection by profilevisitor: favorite categories, brands and usual price. “Abandoned cart” is something that was put in the cart and not purchased. “Upsell to cart” - selection to the current contents of the cart.
- Unlimited blocks. There are two of them in the free version.
- Fine-tuning the selection. Weights of views, cart and purchases, half-life of interest, bonuses for category, brand and price, aggregation windows and data storage periods.
- CZK. Recalculation of connections and profiles according to a schedule, a separate process.
The full version is installed on top of the free regular archive download - these are the same files and the same tables. There is no need to remove the module: block settings,accumulated behavior and statistics remain in place. If you edited a block template, the edits will also be saved: the full version puts its templates under different names and does not touch your file.
Full version of “Smart Product Blocks”
Installation without kernel changes
The module does not modify OpenCart files and does not use modifiers (ocmod). It is installed normally via “Installing extensions”, then the block is added to the layout of the desired page. There is no need to update modifiers or clear their cache.
Specifications
- Module version: 1.0
- Compatibility: OpenCart 3.0.x, ocStore 3.0.x
- PHP Version: 7.0 and later, including PHP 8
- Database: MySQL, MariaDB
- Kernel edits: not required
- Modifiers (ocmod): are not used
- Interface languages: Russian, English
- Multi-store: is supported, statistics are kept for each store separately
- Multilingual: supported, title set for each language
- Number of blocks: two, each has its ownalgorithm and its place in the layout
- CZK: not needed
- Installation: standard, via “Installing extensions”
- Source code: open, without encryption and domain binding
What's new in version 1.0
First release of the free version.