Skip to main content

Documentation Index

Fetch the complete documentation index at: https://86d.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

The recently-viewed module records every product detail page a shopper visits and surfaces those products in a carousel. State is stored per browser for guests and merged into the customer record on sign-in. Source: modules/recently-viewed · npm: @86d-app/recently-viewed

Installation

86d module add recently-viewed

Configuration

recentlyViewed({
  maxItems: "20",
  retentionDays: "30",
});

Store endpoints

MethodPathDescription
POST/recently-viewed/trackRecord a view
GET/recently-viewed/meGet the current shopper’s list

Components

  • <RecentlyViewed />: horizontal carousel; fetches its own data.