How to create and place a Product Recs block
How to add the Liva 7 Product Recs block to your theme and display personalised recommendations
Overview
The Product Recs block is the fastest way to show personalised product recommendations on your storefront. It works instantly and uses the global strategy you set in the Signals tab of the Personalisation Engine.
You do not need to create a widget for this block.
You do not need to configure anything inside the engine.
You only need to add the block to your theme.
This article explains how to place the Product Recs block in the Shopify Theme Editor and how to ensure it displays recommendations correctly.
Before you begin
Make sure:
- the Liva 7 App Embed is enabled
- you know which page types you want to personalise
- you have set your global strategies in the Signals tab
The Product Recs block will automatically use the correct strategy for the page type it is placed on.
The App Embed must be enabled before any recommendations can appear.
Step 1: Add the Product Recs block to your theme
How to add it
- In Shopify Admin, go to:
Online Store → Themes → Edit theme - Open the page template where you want recommendations to appear, such as: homepage, product page, collection page, cart page, search results page
- Click Add section or Add block depending on your theme.
- Select Liva 7 Product Recs.
- Place the block where you want it to appear.
- Click Save.
What you should see
- The block will appear immediately in the Theme Editor.
- It will display real recommendations based on your global strategy.
The Product Recs block starts working instantly once placed and saved.
Step 2: Set your global strategies
The Product Recs block uses the global strategy for the page type it is placed on.
Where to set global strategies
- Open Liva 7 in Shopify Admin.
- Go to the Personalisation Engine.
- Open the Signals tab.
- Scroll to the bottom to find Global Strategies.
- Set a strategy for each page type you want to personalise.
Available strategies include
- Smart Mix (recommended)
- Customers Also Bought
- Similar Products
- Based on Browsing History
- Based on Purchase History
- Trending Now
- New Arrivals
- Use Global Algorithm
How it works
- If the block is on a product page, it uses the product page strategy.
- If the block is on the homepage, it uses the homepage strategy.
- And so on.
The Product Recs block always follows the global strategy for that page type.
Step 3: Confirm the block is working
How to test
- Open the preview of your theme.
- Navigate to the page where you placed the block.
- Confirm that: recommendations appear, the products match your global strategy, the number of products looks correct, no errors appear in the console
If nothing appears
Check:
- the App Embed is enabled
- the block is placed on the correct template
- the global strategy for that page type is set
- the page has enough products to recommend
If the block is empty, check that the App Embed is enabled and a global strategy is set.
Summary
To place personalised recommendations using the Product Recs block, simply add the block to your theme and set your global strategies in the Signals tab.
The block works instantly, does not require widgets and automatically adapts to the page type it is placed on.