Recently Viewed โ€” manual

ModuleForg ยท 1.0.0

Install and display

Upload the ZIP through Module Manager. Disable the native ps_viewedproduct block to prevent duplicate histories. Display is on product footers, optionally home. Your theme must execute displayFooterProduct and either displayHome or displayFooterBefore for home.

Settings

Enable, optional home display, 2โ€“12 products, cards/compact/outline styles, color and preview. Deduplicated history excludes the current product. Disabled, catalogue-hidden and customer-inaccessible products are omitted. Native presentation respects prices, tax, currency, discounts and hidden prices.

Privacy

The last 40 product IDs are kept in tab-scoped sessionStorage. No customer database, profiling cookie or email. Clear history removes it. Browsers may restore sessions. When storage is blocked, only the current visit is known. Display IDs are sent to the server to retrieve products; normal HTTP logs may record requests.

Checks and compatibility

Target: PrestaShop 9.1.5 and PHP 8.1+. Check distinct product visits, current-product exclusion, optional home, clear, customer pricing and mobile. No cross-device history or sales measurement. Theme compatibility depends on hooks; no Addons approval is claimed. Uninstall retains settings for reinstallation.

Home without native hooks

If the theme omits home hooks, a JavaScript fallback inserts the block immediately before the first HTML footer, only when home display is enabled. A native block takes priority and no duplicate is added. This fallback requires JavaScript and an HTML footer.