Plugin Details
Home / Plug-in market / Recently Viewed Products Decoration Module
Recently Viewed Products Decoration Module
Recently Viewed Products Decoration Module
Overview
Recently Viewed is a plugin that adds a recently viewed products display module to the admin "Design → Decoration" builder. It automatically shows products a visitor has recently viewed based on their browsing history (product_views). Supports custom title, description, total product count, and items per row. When a visitor has no browsing history, the module is automatically hidden; placeholder products are shown in design preview for easy layout debugging. Perfect for product detail page "Recently Viewed" sections, cart page recommendations, sidebar shortcuts, and similar use cases – helping visitors quickly rediscover products they were interested in and boosting conversion rates.
Key Features
👁️ Automatic Recently Viewed Display
| Feature | Description |
|---|---|
| Automatic tracking | When visitors view product detail pages, products are automatically recorded in a cookie (most recent first, deduplicated, limited quantity) |
| Cross-device sync | Logged-in members' browsing history is merged with their account – enabling cross-device synchronization |
| Smart hiding | Module automatically hides on the storefront when visitors have no browsing history (placeholder products shown in design preview) |
| Product status filtering | Automatically filters out discontinued products or those without a master SKU |
📐 Flexible Configuration Options
| Option | Description |
|---|---|
| Title | Main module title (multi-language support) |
| Short description | Module description text (rich text support) |
| Total products | Configurable from 1 to 50 products |
| Items per row (PC) | Configurable from 1 to 8 columns |
| Items per row (Mobile) | Configurable from 1 to 2 columns |
| Module width | Narrow (container) / Wide (container-fluid) / Full (w-100) |
🛒 Product Card Features
| Feature | Description |
|---|---|
| Reuses system product cards | Uses the theme's shared.product component – maintains consistent styling |
| Price display rules | Follows system "show price after login" configuration |
| Storage duration | Browsing history stored for 60 days |
Technical Features
-
✅ Cookie-based primary storage : Uses a dedicated cookie to store browsing history – independent of session ID, stable for guest visitors
-
✅ Logged-in member merging : Automatically merges server-side
product_viewsrecords when logged in – enables cross-device synchronization -
✅ Most-recent-first deduplication : Multiple views of the same product keep only the latest – ordered chronologically descending
-
✅ Smart hiding : Module automatically hides when no browsing history exists – avoids empty areas
-
✅ Design preview friendly : Automatically displays placeholder products in the editor – easy layout configuration
-
✅ Responsive grid : 1–8 columns on PC, 1–2 columns on mobile – automatically adapts
-
✅ Any theme compatible : Frontend views are plugin-bundled – product cards reuse current theme components
-
✅ Full design editor support : Real-time preview – rich and intuitive configuration options
Use Cases
-
"Recently Viewed" section on product detail pages
-
Recommendation area below shopping cart
-
Sidebar shortcut on homepage
-
"My Footprints" in customer center
-
Sidebar recommendations on product listing pages
-
Any area needing to recall user interest products

