Configure
AI Product Recommender: Cross-Selling and Related Products
- Learned from 21 orders: 0 product pairs
- rebuilt 2 h ago
- Tracking on
- 8 of 12 blocks on
Dashboard
What this is for: whether the recommendations work, where they show and what they bring.
What to do here: fix what is listed under “Needs your attention”; everything else runs on its own.
Recommendations are working: 8 blocks on your shop, rebuilt 2 h ago. 2 points could be better: see “Needs your attention” below.
Learning
0 product pairs
Learned from 21 orders and 2 visitors: 0 product pairs.
None of your 220 products has “bought together” or “viewed together” suggestions yet; they get similar and popular products.
Last rebuilt 2 h ago.
A product pair: two products bought in the same orders, or viewed by the same visitors, often enough to be suggested together.
Blocks
8 of 12 blocks on
- Home page: Shows products
- Product page: Shows products
- Next to Add to cart: Shows products
- Add-to-cart pop-up: Shows products
- Cart: Shows products
- Category pages: Shows products
- Left column: Shows products
- Order confirmation: Shows products
A block is a list of recommended products at one place of your shop. The check tries five products spread over your catalogue.
Visitor data
5 product views in 7 days
5 product views and 1 cart additions recorded in the last 7 days.
Nothing recorded in the last 24 hours. If your shop had visitors, check that no cache outside PrestaShop (server or CDN) serves its pages: product views are recorded when PrestaShop builds the page.
Recorded when a visitor opens a product page, adds to the cart or orders; it teaches the engine the products viewed together and the trending ones.
Results (30 days)
£0.00 revenue after a click
7 impressions, 0 % click rate, 0 orders.
0 % of your shop’s revenue in these days.
Impressions: blocks seen. Click rate: clicks per impression. Orders and revenue: orders with a product clicked in a block during the 7 days before, tax excluded.
Where it is active
Your shop’s pages with each block at its place. Click a block to change it.
Other pages: Page not found OffSee it on my shop: Page not found
- Shows products
- Empty for most products
- Your theme has no place for it
- Off
Needs your attention
- Warning: Recommendations built for this shop The orders of the chosen period have no two products in common yet. Until they do, the blocks show similar and popular products; a longer order history in the Engine section may help. Fix
- Warning: No visit recorded in the last 24 hours Nothing recorded in the last 24 hours. If your shop had visitors, check that no cache outside PrestaShop (server or CDN) serves its pages: product views are recorded when PrestaShop builds the page. Fix
How it works
-
Shoppers browse and buy
Every product view, cart addition and order is recorded (after cookie consent when your shop asks for it).
Visitor tracking -
Every night the engine learns
It finds the products bought and viewed together and the ones popular right now.
Engine -
Blocks show the best products
Each block on your pages picks the products that fit the page and the visitor, with its own strategy.
Blocks -
You see the results here
Impressions, clicks and the orders that followed a click, per block.
Checklist and results
Get started
What this is for: the first setup of the recommendations, in four short steps.
What to do here: follow the steps; each one says what it does, and your progress is kept.
Step 4 of 4: See them on your shop
- See them on your shop
Checklist and results
What the module needs to recommend well, checked live for the shop you are editing. Fix the highlighted items; everything else runs on its own.
- Warning: Recommendations built for this shop The orders of the chosen period have no two products in common yet. Until they do, the blocks show similar and popular products; a longer order history in the Engine section may help. Fix
- Passed: At least one block shows recommendations 8 of 12 blocks are on.
- Passed: Recommendations are rebuilt every day Rebuilt automatically every 24 hours, after a visitor’s page has been sent.
- Passed: Visitor behaviour is recorded
Results of the last 30 days
Impressions: a recommendation block seen by a visitor. Clicks: a product clicked in a block. Orders and revenue: orders with a product clicked in a block during the 7 days before, and the amount of those products, tax excluded.
| Block | Impressions | Clicks | Click rate | Orders | Revenue |
|---|---|---|---|---|---|
| Home page | 0 | 0 | 0 % | 0 | £0.00 |
| Product page | 2 | 0 | 0 % | 0 | £0.00 |
| Product page, second block off | 0 | 0 | 0 % | 0 | £0.00 |
| Next to Add to cart | 0 | 0 | 0 % | 0 | £0.00 |
| Add-to-cart pop-up | 1 | 0 | 0 % | 0 | £0.00 |
| Cart | 1 | 0 | 0 % | 0 | £0.00 |
| Cart, next to the totals off | 0 | 0 | 0 % | 0 | £0.00 |
| Category pages | 1 | 0 | 0 % | 0 | £0.00 |
| Left column | 2 | 0 | 0 % | 0 | £0.00 |
| Right column off | 0 | 0 | 0 % | 0 | £0.00 |
| Order confirmation | 0 | 0 | 0 % | 0 | £0.00 |
| Page not found off | 0 | 0 | 0 % | 0 | £0.00 |
Blocks
What this is for: The places of your shop where recommendations appear: each block shows products chosen by its strategy.
What to do here: Switch the blocks you want on (saved at once), then use Preview to see what they show and Edit to change a title, a strategy or a layout.
| Shown | Block | Title | Strategy | Shows | Status | Seenlast 7 days | Actions |
|---|---|---|---|---|---|---|---|
| Home page The first page most visitors see: good for personal picks or trending products. | |||||||
| Home page Title: “AI Product Recommender · Recommended for you” Title: “AI Product Recommender · Für Sie empfohlen” Title: “AI Product Recommender · Recommandé pour vous” Title: “AI Product Recommender · Consigliati per te” Title: “AI Product Recommender · Polecane dla Ciebie” Title: “AI Product Recommender · Recomendado para ti” Title: “AI Product Recommender · Recommended for you” See it on my shop (opens a new tab) | AI Product Recommender · Recommended for you AI Product Recommender · Für Sie empfohlen AI Product Recommender · Recommandé pour vous AI Product Recommender · Consigliati per te AI Product Recommender · Polecane dla Ciebie AI Product Recommender · Recomendado para ti AI Product Recommender · Recommended for you | Recommended for you Personal picks for each visitor | 8 products Grid | Shows products | 0 | Edit Home page | |
| Product page Under the product details and next to the Add to cart button: products that go with the one shown. | |||||||
| Product page Title: “AI Product Recommender · Frequently bought together” Title: “AI Product Recommender · Wird oft zusammen gekauft” Title: “AI Product Recommender · Souvent achetés ensemble” Title: “AI Product Recommender · Spesso comprati insieme” Title: “AI Product Recommender · CzÄ™sto kupowane razem” Title: “AI Product Recommender · Se compran juntos con frecuencia” Title: “AI Product Recommender · Frequently bought together” See it on my shop (opens a new tab) | AI Product Recommender · Frequently bought together AI Product Recommender · Wird oft zusammen gekauft AI Product Recommender · Souvent achetés ensemble AI Product Recommender · Spesso comprati insieme AI Product Recommender · CzÄ™sto kupowane razem AI Product Recommender · Se compran juntos con frecuencia AI Product Recommender · Frequently bought together | Frequently bought together What others bought with this product | 8 products Carousel | Shows products | 2 | Edit Product page | |
| Product page, second block Title: “AI Product Recommender · Customers who viewed this also viewed” Title: “AI Product Recommender · Kunden, die diesen Artikel angesehen haben, sahen sich auch an” Title: “AI Product Recommender · Les clients ayant consulté ce produit ont aussi consulté” Title: “AI Product Recommender · Chi ha visto questo prodotto ha visto anche” Title: “AI Product Recommender · Klienci, którzy oglÄ…dali ten produkt, oglÄ…dali również” Title: “AI Product Recommender · Los clientes que vieron este producto también vieron” Title: “AI Product Recommender · Customers who viewed this also viewed” See it on my shop (opens a new tab) | AI Product Recommender · Customers who viewed this also viewed AI Product Recommender · Kunden, die diesen Artikel angesehen haben, sahen sich auch an AI Product Recommender · Les clients ayant consulté ce produit ont aussi consulté AI Product Recommender · Chi ha visto questo prodotto ha visto anche AI Product Recommender · Klienci, którzy oglÄ…dali ten produkt, oglÄ…dali również AI Product Recommender · Los clientes que vieron este producto también vieron AI Product Recommender · Customers who viewed this also viewed | Customers who viewed this also viewed What others looked at with this product | 8 products Carousel | Off | 0 | Edit Product page, second block | |
| Next to Add to cart Title: “AI Product Recommender · Available alternatives” Title: “AI Product Recommender · Verfügbare Alternativen” Title: “AI Product Recommender · Alternatives disponibles” Title: “AI Product Recommender · Alternative disponibili” Title: “AI Product Recommender · DostÄ™pne alternatywy” Title: “AI Product Recommender · Alternativas disponibles” Title: “AI Product Recommender · Available alternatives” Only shown when the product is out of stock | AI Product Recommender · Available alternatives AI Product Recommender · Verfügbare Alternativen AI Product Recommender · Alternatives disponibles AI Product Recommender · Alternative disponibili AI Product Recommender · DostÄ™pne alternatywy AI Product Recommender · Alternativas disponibles AI Product Recommender · Available alternatives | Similar products Alternatives to this product | 4 products Compact list Out of stock | Shows products | 0 | Edit Next to Add to cart | |
| Cart In the pop-up after adding to the cart, under the cart summary and next to the totals: products that complete the order. | |||||||
| Add-to-cart pop-up Title: “AI Product Recommender · Customers also bought” Title: “AI Product Recommender · Kunden kauften auch” Title: “AI Product Recommender · Les clients ont aussi acheté” Title: “AI Product Recommender · I clienti hanno acquistato anche” Title: “AI Product Recommender · Klienci kupili również” Title: “AI Product Recommender · Los clientes también compraron” Title: “AI Product Recommender · Customers also bought” | AI Product Recommender · Customers also bought AI Product Recommender · Kunden kauften auch AI Product Recommender · Les clients ont aussi acheté AI Product Recommender · I clienti hanno acquistato anche AI Product Recommender · Klienci kupili również AI Product Recommender · Los clientes también compraron AI Product Recommender · Customers also bought | Complete your purchase Add-ons for what is in the cart | 4 products Compact list | Shows products | 1 | Edit Add-to-cart pop-up | |
| Cart Title: “AI Product Recommender · Complete your purchase” Title: “AI Product Recommender · Vervollständigen Sie Ihren Einkauf” Title: “AI Product Recommender · Complétez votre commande” Title: “AI Product Recommender · Completa il tuo acquisto” Title: “AI Product Recommender · UzupeÅ‚nij swoje zakupy” Title: “AI Product Recommender · Completa tu compra” Title: “AI Product Recommender · Complete your purchase” | AI Product Recommender · Complete your purchase AI Product Recommender · Vervollständigen Sie Ihren Einkauf AI Product Recommender · Complétez votre commande AI Product Recommender · Completa il tuo acquisto AI Product Recommender · UzupeÅ‚nij swoje zakupy AI Product Recommender · Completa tu compra AI Product Recommender · Complete your purchase | Complete your purchase Add-ons for what is in the cart | 4 products Grid | Shows products | 1 | Edit Cart | |
| Cart, next to the totals Title: “AI Product Recommender · Complete your purchase” Title: “AI Product Recommender · Vervollständigen Sie Ihren Einkauf” Title: “AI Product Recommender · Complétez votre commande” Title: “AI Product Recommender · Completa il tuo acquisto” Title: “AI Product Recommender · UzupeÅ‚nij swoje zakupy” Title: “AI Product Recommender · Completa tu compra” Title: “AI Product Recommender · Complete your purchase” | AI Product Recommender · Complete your purchase AI Product Recommender · Vervollständigen Sie Ihren Einkauf AI Product Recommender · Complétez votre commande AI Product Recommender · Completa il tuo acquisto AI Product Recommender · UzupeÅ‚nij swoje zakupy AI Product Recommender · Completa tu compra AI Product Recommender · Complete your purchase | Complete your purchase Add-ons for what is in the cart | 4 products Compact list | Off | 0 | Edit Cart, next to the totals | |
| Category pages and columns Under the product list of category pages, and in the side columns where your theme has them. | |||||||
| Category pages Title: “AI Product Recommender · Trending now” Title: “AI Product Recommender · Gerade beliebt” Title: “AI Product Recommender · Tendances du moment” Title: “AI Product Recommender · Di tendenza” Title: “AI Product Recommender · Teraz na topie” Title: “AI Product Recommender · Tendencias del momento” Title: “AI Product Recommender · Trending now” See it on my shop (opens a new tab) | AI Product Recommender · Trending now AI Product Recommender · Gerade beliebt AI Product Recommender · Tendances du moment AI Product Recommender · Di tendenza AI Product Recommender · Teraz na topie AI Product Recommender · Tendencias del momento AI Product Recommender · Trending now | Trending now Popular right now | 8 products Carousel | Shows products | 1 | Edit Category pages | |
| Left column Title: “AI Product Recommender · Trending now” Title: “AI Product Recommender · Gerade beliebt” Title: “AI Product Recommender · Tendances du moment” Title: “AI Product Recommender · Di tendenza” Title: “AI Product Recommender · Teraz na topie” Title: “AI Product Recommender · Tendencias del momento” Title: “AI Product Recommender · Trending now” See it on my shop (opens a new tab) | AI Product Recommender · Trending now AI Product Recommender · Gerade beliebt AI Product Recommender · Tendances du moment AI Product Recommender · Di tendenza AI Product Recommender · Teraz na topie AI Product Recommender · Tendencias del momento AI Product Recommender · Trending now | Trending now Popular right now | 5 products Compact list | Shows products | 2 | Edit Left column | |
| Right column Title: “AI Product Recommender · Trending now” Title: “AI Product Recommender · Gerade beliebt” Title: “AI Product Recommender · Tendances du moment” Title: “AI Product Recommender · Di tendenza” Title: “AI Product Recommender · Teraz na topie” Title: “AI Product Recommender · Tendencias del momento” Title: “AI Product Recommender · Trending now” See it on my shop (opens a new tab) | AI Product Recommender · Trending now AI Product Recommender · Gerade beliebt AI Product Recommender · Tendances du moment AI Product Recommender · Di tendenza AI Product Recommender · Teraz na topie AI Product Recommender · Tendencias del momento AI Product Recommender · Trending now | Trending now Popular right now | 5 products Compact list | Off | 0 | Edit Right column | |
| After the order On the order confirmation page, to bring the customer back. | |||||||
| Order confirmation Title: “AI Product Recommender · Recommended for you” Title: “AI Product Recommender · Für Sie empfohlen” Title: “AI Product Recommender · Recommandé pour vous” Title: “AI Product Recommender · Consigliati per te” Title: “AI Product Recommender · Polecane dla Ciebie” Title: “AI Product Recommender · Recomendado para ti” Title: “AI Product Recommender · Recommended for you” | AI Product Recommender · Recommended for you AI Product Recommender · Für Sie empfohlen AI Product Recommender · Recommandé pour vous AI Product Recommender · Consigliati per te AI Product Recommender · Polecane dla Ciebie AI Product Recommender · Recomendado para ti AI Product Recommender · Recommended for you | Recommended for you Personal picks for each visitor | 4 products Grid | Shows products | 0 | Edit Order confirmation | |
| Other pages The “page not found” page, to lead lost visitors back to products. | |||||||
| Page not found Title: “AI Product Recommender · Trending now” Title: “AI Product Recommender · Gerade beliebt” Title: “AI Product Recommender · Tendances du moment” Title: “AI Product Recommender · Di tendenza” Title: “AI Product Recommender · Teraz na topie” Title: “AI Product Recommender · Tendencias del momento” Title: “AI Product Recommender · Trending now” See it on my shop (opens a new tab) | AI Product Recommender · Trending now AI Product Recommender · Gerade beliebt AI Product Recommender · Tendances du moment AI Product Recommender · Di tendenza AI Product Recommender · Teraz na topie AI Product Recommender · Tendencias del momento AI Product Recommender · Trending now | Trending now Popular right now | 8 products Grid | Off | 0 | Edit Page not found | |
A block appears where your theme prints its place. To show a block somewhere else, see Help › How it works.
Live preview
Your block as your shop shows it, with the settings below, before you save.
Starts with your best seller; search another product by its name, reference or EAN.
Empty: a visitor with no history. Pick a customer to see their personal picks.
Your block in your shop’s theme on a computer, a tablet and a phone, with the settings of the Settings tab, saved or not. This page is not counted in the statistics.
Loading…
Leave without saving?
The changes you made in this panel are lost when you leave.
Styles
What this is for: How the recommendation blocks look: your theme’s product cards or the module’s own, the products per row, the colours, badges and effects.
What to do here: Keep “Theme cards” to look like your shop, or duplicate a style, change the copy and choose it for a block in Blocks.
This shop has no style yet: its blocks use your theme’s product cards. Add the system styles to start from them, or create a style with the button below.
Loading…
Leave without saving?
The changes you made in this panel are lost when you leave.
Merchant rules
Your own knowledge on top of the engine: products that go together, a product to show first, brands to push, pairs that never fit, a price range. The rules apply to every block, after the engine has chosen its products.
Loading…
Leave without saving?
The changes you made in this panel are lost when you leave.
A/B tests
What this is for: Finding out on real visitors which strategy sells more in a block, before you change it for everyone.
What to do here: Create a test, start it, wait until each variant has enough impressions, then keep the winner.
Variant A is what the block shows now; variant B is another strategy, or no block at all. Each visitor always sees the same variant, and the results say when a difference is more than chance.
Loading…
Leave without saving?
The changes you made in this panel are lost when you leave.
Explorer
What would your shop recommend for this product? Each strategy below shows the products it would pick, and why. Nothing here changes your shop.
Starts with your best seller: search any other product.
Find a product by its name, reference or EAN. The recommendations change at once. Remove it to see only the strategies that do not need a product.
More options See it as a customer, number of products
Default: a new visitor.
A customer of this shop, found by name or e-mail. The strategies “For this visitor” then use what this customer viewed and bought. Leave it empty to see what a new visitor gets.
How many products each strategy shows. Default: 8.
How many products each strategy shows, from 1 to 24. Default: 8, the number most blocks show.
Point at a product or tap it to see why it was chosen.
For this product page
Products that go with the product above.
-
Frequently bought together
What others bought with this product
Used by: Product page
-
Customers who viewed this also viewed
What others looked at with this product
Not used by any block
-
Similar products
Alternatives to this product
Used by: Next to Add to cart
-
Premium alternatives
A better, pricier version
Not used by any block
-
Complete your purchase
Add-ons for what is in the cart
Used by: Add-to-cart pop-up, Cart
For this visitor
As a new visitor, with no history.
-
Recommended for you
Personal picks for each visitor
Used by: Home page, Order confirmation
-
Recently viewed
What this visitor looked at before
Not used by any block
For everyone
The same for every visitor, on any page.
-
Trending now
Popular right now
Used by: Category pages, Left column
-
Best sellers
Your best sellers
Not used by any block
-
New arrivals
Your newest products
Not used by any block
See a block in your theme A block as your shop shows it, for the product above, at desktop, tablet and phone width.
The block to show in your theme. Default: Product page.
The block to show, with its saved title, strategy, number of products and style. A block switched off is shown here anyway, so you can check it before switching it on.
Product pairs
This list is loaded when you open it, so the other settings open quickly.
Trending and best sellers
This list is loaded when you open it, so the other settings open quickly.
Recorded data
This list is loaded when you open it, so the other settings open quickly.
Cached lists
The computed lists of recommendations kept for a while so pages stay fast. Clearing them is safe: the next page views compute them again, for example right after you changed the rules or excluded products.
Lists cached for this shop now: 28
Daily rebuild with a cron job
Optional: a cron job of your hosting calls the module once a night, so the rebuild never waits for a visitor. Paste one of these lines; the address rebuilds every shop.
The cron address was last called 3 days ago (2026-10-28 11:43).
Last build
What the last rebuild of each shop found. “Rebuild recommendations” at the top of the page rebuilds the shop you are editing now.
| Shop | Built | Duration | Bought togetherlinks | Viewed togetherlinks | Products scored |
|---|---|---|---|---|---|
| Advance Google Tag Manager - PRO | 3 days ago | 0 s | 0 | 0 | 0 |
| Advanced Google Site Map | 3 days ago | 0 s | 0 | 0 | 0 |
| Advanced Product Page Banners | 3 days ago | 0 s | 0 | 0 | 0 |
| AI Agent Connector - WebMCP | 3 days ago | 0 s | 0 | 0 | 0 |
| AI Product Recommender | 2 h ago | 0.1 s | 0 | 0 | 25 |
| Alternative Products | 3 days ago | 0 s | 0 | 0 | 0 |
| Amazing Mail | 3 days ago | 0 s | 0 | 0 | 0 |
| Best Seller Booster | 3 days ago | 0 s | 0 | 0 | 0 |
| Cart Shipping Label Manager | 3 days ago | 0 s | 0 | 0 | 0 |
| ChatGPT Product Feed | 3 days ago | 0 s | 0 | 0 | 0 |
| Clean URLs - Remove IDs | 3 days ago | 0 s | 0 | 0 | 0 |
| EU Legal Guarantee Notice and GARAN Label | 3 days ago | 0 s | 0 | 0 | 0 |
| GDPR Compliance Pro + Google and Microsoft Consent Mode | 3 days ago | 0 s | 0 | 0 | 1 |
| Google Cache Policy | 3 days ago | 0 s | 0 | 0 | 0 |
| Google Customer and Business Reviews Pro | 3 days ago | 0 s | 0 | 0 | 0 |
| Header Message Bar Pro | 3 days ago | 0 s | 0 | 0 | 0 |
| LLMs.txt Generator | 3 days ago | 0 s | 0 | 0 | 0 |
| Microsoft Clarity for Prestashop | 3 days ago | 0 s | 0 | 0 | 0 |
| One-Time Offer at Checkout | 3 days ago | 0 s | 0 | 0 | 0 |
| OpenAI / ChatGPT Ads | 3 days ago | 0 s | 0 | 0 | 0 |
| Order Cancellation & Withdrawal | 3 days ago | 0 s | 0 | 0 | 0 |
| Order Source Pro | 3 days ago | 0 s | 0 | 0 | 0 |
| PPWR Packaging Compliance | 3 days ago | 0 s | 0 | 0 | 0 |
| Product Quiz | never | 0 | 0 | 0 | |
| Product Video Pro | 3 days ago | 0 s | 0 | 0 | 0 |
| Saved basket | 3 days ago | 0 s | 0 | 0 | 0 |
| Scan and Sign | never | 0 | 0 | 0 | |
| Select Default Payment Method | 3 days ago | 0 s | 0 | 0 | 0 |
| Shop Reminder | 3 days ago | 0 s | 0 | 0 | 0 |
| Sitelinks search box | 3 days ago | 0 s | 0 | 0 | 0 |
| WebPGenerator | 3 days ago | 0 s | 0 | 0 | 0 |
| White Christmas | 3 days ago | 0 s | 0 | 0 | 0 |
What is stored
Before the visitor accepts cookies
With “Record behaviour only after cookie consent” on and a consent module active: no view or cart addition is recorded and the module sets no cookie of its own. The blocks still show; their impressions and clicks are counted as totals without any visitor id. Orders are recorded, because the order itself is needed to fulfil the contract.
After consent, or without a consent module
For each product view, cart addition and purchase: the product, the date, the shop and the number PrestaShop gives the customer or the visitor (the customer id, or the visitor id of the shop’s cookie; when PrestaShop has none, a random id of the module’s cookie). No name, e-mail address, IP address or other personal detail.
Search engines and other robots are not recorded. A product viewed again within 30 minutes by the same visitor counts once. The records are deleted after the period set above; Insights › Recorded data shows them and deletes them on demand. Open Recorded data
Python service
What this is for: Optional, for large shops: a separate service (Python, LightFM) trains a model of your customers and writes their personalized picks back to the shop. The module works fully without it.
What to do here: Nothing, unless your shop has many customers with several orders each (see below). Then install the service, enter its address and key, test the connection and start a training.
Setting up the service
- Run the psairec-python service (Docker image or Python 3.11) on a server that can read your shop’s database.
- Give it a long random API key in its PSAIREC_API_KEY setting, and enter the same key here.
- Enter its address, save, and click “Test connection”.
- Click “Train now” and wait until “Test connection” shows the training has finished; then switch the service on for the shops that should use it. From then on it is trained again on the schedule above.
How it works
What this is for: How the module learns from your shop, what each strategy does, and how to show a block anywhere in your theme.
What to do here: Nothing to set up: read the part you need, then go back to the section it points to.
The module learns from your shop itself. It reads which products appear in the same orders, which products the same visitors look at, and what is popular right now. No data leaves your server and no external service is needed.
Once a day the engine turns this history into lists of related products and popularity scores. The storefront then only looks these lists up, so the blocks cost your pages almost nothing.
Each block shows one strategy: bought together and viewed together on product pages, complete your purchase in the cart, personalized or trending picks elsewhere. When a strategy has too little data, for example in a new shop, the block is completed with popular products.
The blocks use your theme’s own product cards, so they look like the rest of your shop. The Dashboard and “Checklist and results” show how often they are seen and clicked, and the orders that follow.
A block anywhere in your theme
The blocks appear where your theme prints the matching hooks. To show a block somewhere else, add a widget tag to a template of your theme. With a block name, it uses the settings of that block:
{widget name='psairec' placement='home'}
With a strategy and a number of products, the block is independent of the blocks you set up (its title is the built-in title of the strategy):
{widget name='psairec' strategy='similar' limit=4}
| Block | Widget tag |
|---|---|
| Home page | {widget name='psairec' placement='home'} |
| Product page | {widget name='psairec' placement='product'} |
| Product page, second block | {widget name='psairec' placement='product_viewed'} |
| Next to Add to cart | {widget name='psairec' placement='product_side'} |
| Add-to-cart pop-up | {widget name='psairec' placement='cart_modal'} |
| Cart | {widget name='psairec' placement='cart'} |
| Cart, next to the totals | {widget name='psairec' placement='cart_sidebar'} |
| Category pages | {widget name='psairec' placement='category'} |
| Left column | {widget name='psairec' placement='left_column'} |
| Right column | {widget name='psairec' placement='right_column'} |
| Order confirmation | {widget name='psairec' placement='order_confirmation'} |
| Page not found | {widget name='psairec' placement='not_found'} |
Keeping recommendations up to date
After install the module builds the recommendations once, then rebuilds them every day by itself right after a visitor’s page has been sent. On slow hosting, switch the automatic rebuild off in the Engine section and call the cron address shown there once a night instead, for example at 3:00 with a cron job of your hosting panel, or run the PrestaShop console command php bin/console psairec:rebuild.
“Rebuild recommendations” at the top of this page rebuilds the shop you are editing at once, for example after importing orders. There is nothing to import beforehand: the engine reads your orders directly.
Speed, page caches and cookie consent
Computed lists are kept for a while in a small table of the module, so the blocks cost your pages almost nothing; no Redis or other cache server is needed. “Clear cached lists” in Engine forgets them at once.
When a page cache (LiteSpeed Cache, Page Cache Ultimate, Varnish…) serves your pages, switch on “Load the blocks after the page”: the page stays cached and the blocks, personal picks included, are loaded for each visitor right after it.
With a cookie consent module such as GDPR Pro, the module records views and cart additions only after the visitor accepts cookies. Before that, the blocks still show and are counted without any visitor id.
A/B tests show another strategy, or no block at all, to part of your visitors and compare clicks and orders, so you keep what really sells more.
What each strategy does
| Strategy | What it shows | In a widget tag |
|---|---|---|
| Recommended for you | Picks for each visitor from the products they viewed, added to the cart and bought; guests get picks from what they viewed in this visit. With the optional Python service, from its trained model. Visitors without history see trending products. | personalized |
| Frequently bought together | Products that appear in the same orders as the product shown. Needs a product page. | bought_together |
| Customers who viewed this also viewed | Products viewed by the same visitors as the product shown. Needs a product page. | viewed_together |
| Similar products | Products of the same category with the same brand, shared features or a close price. Needs a product page. | similar |
| Premium alternatives | Similar products of the same category that cost more than the product shown, to suggest an upgrade. Needs a product page. | upsell |
| Complete your purchase | Products often bought with the products in the cart. Needs a cart; in the add-to-cart pop-up, the product just added counts as the cart. | cart |
| Recently viewed | The products this visitor viewed last, newest first. Empty on a first visit. | recently_viewed |
| Trending now | Products with the most views, cart additions and orders in the last weeks; recent activity counts more. | trending |
| Best sellers | The products sold most within the order history period of the Engine settings. | bestsellers |
| New arrivals | The products added to the catalogue most recently. | new_arrivals |
Support
Questions or a problem? Write to leo@prestachamps.com with your PrestaShop version and a screenshot of Checklist and results.