數位行銷
程式設計開發

這款模組專為 購物網站 與 電商 平台設計,能夠在網頁側邊自動顯示使用者「最近瀏覽的商品」。
它運用前端 localStorage 技術,不依賴資料庫,大幅減輕伺服器負擔,並確保即時更新。
在 網頁設計 中,這項功能能夠有效地提醒顧客先前感興趣的產品,鼓勵他們回頭購買,從而提升電商轉換率。
它完美整合 J2Store / j2commerce 商品頁面,提供無須會員登入的便利性。
透過簡單的安裝與啟用,這款模組能為您的 網站建置 帶來更優異的使用者體驗與銷售成效。
最近瀏覽的商品 mod_esangtek_recentproducts
此模組可於前台右側顯示「最近瀏覽的商品」,方便使用者快速回顧先前點閱的產品。
模組不依賴資料庫記錄,用戶端以 localStorage
自動儲存瀏覽紀錄,並於每次瀏覽時同步更新畫面,適合應用於 J2Store / j2commerce商品頁。
功能特色:
-
自動偵測 J2Store / j2commerce 商品頁並記錄瀏覽商品。
-
使用者每次最多可記錄 5 筆商品。
-
前台模組呈現浮動右側區塊,固定顯示最近商品。
-
不需要會員登入即可使用,純前端紀錄,無資料庫負擔。
-
適用於 Joomla 4.x。
安裝方式:
-
登入 Joomla 後台
-
選擇【系統】→【安裝】→【擴充功能】
-
上傳並安裝
mod_esangtek_recentproducts_tw.zip
-
到【模組】中找到「最近瀏覽商品模組」,啟用並設置顯示位置(建議設為右側浮動模組位置)
-
儲存並前往前台商品頁測試是否正確記錄與顯示
注意事項:
-
商品頁面需包含 J2Store / j2commerce的標準路徑結構,如
/product/xxx
-
此模組為前端 localStorage 實作,跨裝置與清除瀏覽器快取後資料將會重置
-
若需更多控制功能(如:排除分類、自定排序),可進行進階版客製
Recently Viewed Products mod_esangtek_recentproducts
This module displays the recently viewed products on the right side of the frontend, allowing users to quickly revisit previously browsed items. It does not rely on database records — browsing history is stored on the client side using localStorage
and updated dynamically during each visit. Ideal for use with J2Store product pages.
Features:
-
Automatically detects J2Store product pages and tracks viewed products.
-
Stores up to 5 recently viewed products per user session.
-
Displays a floating module on the right side of the frontend to showcase recent items.
-
No login required — fully front-end based with zero database load.
-
Compatible with Joomla 4.x.
Installation Instructions:
-
Log in to the Joomla Administrator Panel
-
Go to System → Install → Extensions
-
Upload and install
mod_esangtek_recentproducts_tw.zip
-
Navigate to Modules, find “Recently Viewed Products Module,” enable it, and assign it to a display position (recommended: floating module on the right side)
-
Save the settings and test it on the frontend product pages to ensure proper tracking and display
Notes:
-
Product pages must follow the standard J2Store URL structure, such as
/product/xxx
-
This module uses front-end
localStorage
; data will reset across devices or after clearing browser cache -
For advanced control (e.g., exclude certain categories, customize sorting), a premium version is available upon reque