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 wishlist module lets shoppers save products for later. Wishlists are per customer, optionally shareable via a public link, and can trigger notifications when a wishlisted item drops in price or restocks. Source: modules/wishlist · npm: @86d-app/wishlist

Installation

86d module add wishlist

Configuration

wishlist({
  notifyOnPriceDrop: "true",
  notifyOnRestock: "true",
  publicShareEnabled: "true",
});

Store endpoints

MethodPathDescription
GET/wishlist/meGet the customer’s wishlist
POST/wishlist/me/itemsAdd an item
DELETE/wishlist/me/items/:idRemove an item
GET/wishlist/share/:tokenPublic read of a shared wishlist

Components

  • <WishlistButton productId={id} />: heart toggle on product cards.
  • <WishlistPage />: customer self-service wishlist view.