Besides product pages, the plugin has two more placements: a Trending now block for your home page or any landing page, and a cart placement headed Before you checkout. In this tutorial we’ll add both and explain what each one shows.
Steps in short
- Add the widget to your home page with the Page Block target.
- Add it to the cart page with the Cart Widget target.
- Match each page to its target.
- Trending comes from the last 30 days of views and purchases.
1. Add “Trending now” to your home page
In the page builder, open your home page (Storefront → Templates, Home Page tab) or any landing page, and add the AI Product Recommendations block as a Page Block. It shows your store’s trending products under the heading “Trending now”.
Where to find it. Plugin blocks for pages and the cart are added from the page builder’s Plugins tab. If AI Product Recommendations isn’t listed there on your store yet, email support@rocketworks.dev and we’ll help you get it on your page.
2. Add recommendations to your cart page
Open your cart template (Storefront → Templates, Cart tab) and add the widget below the cart items as a Cart Widget. On Orbit today, the cart widget shows your trending products under the heading “Before you checkout” — a last nudge towards your most popular items before checkout.
3. Pick the right target for each page
| Page | Target | Shows |
|---|---|---|
| Product page template | Product Widget | Products linked to the one being viewed, then trending |
| Cart page | Cart Widget | Trending products, headed “Before you checkout” |
| Home and landing pages | Page Block | Trending products, headed “Trending now” |
As with the product widget, set Advance → Container → Min Height to about 100 px to keep gaps small while there’s nothing to show.
4. Understand what “trending” means
Trending is worked out from the last 30 days of product views and purchases on your store. Recent activity counts for more — an event’s weight halves every seven days — and a purchase counts three times as much as a view. The top 50 products are kept, and the list is rebuilt with the model every six hours.
Good to know
- On a new store, trending is empty until shoppers have viewed or bought something, so these two widgets show nothing at first. Views are recorded by the product-page widget, so add that one first.
- Rename either heading, or switch a placement off, in the plugin settings.
AI Product Recommendations£39.99 a month · 7-day free trial · billed through Orbit