Augeo AI Docs
SDKsCapabilities

Wishlist

Wishlist

Wishlist controls product hearts and membership resolution. The default is on. source defaults to host-first. Pass false to hide hearts.

Prerequisites

ItemRequirement
Host pageServes HTTPS and can load a third-party script
Personaloyalty-concierge
Bundle globalwindow.AugeoChatSdkLoyaltyConcierge

Load a pinned production loyalty bundle first. Read Capabilities for the shared true / false / object contract.

Values

ValueEffect
omittedHearts on. Source is host-first
trueSame as omitted
falseHides hearts
objectHearts on with isItemSaved and source

Parameters

ParameterDefaultType
isItemSavedunset(item: ItemRef) => boolean
sourcehost-firstWishlist source mode

Unknown source strings fall back to host-first.

isItemSaved

Pass a host resolver that returns whether an item is saved.

const { AugeoAssistant } = window.AugeoChatSdkLoyaltyConcierge;

new AugeoAssistant({
  container: '#chat-host',
  auth: { getToken: () => bearerToken },
  capabilities: {
    wishlist: {
      isItemSaved: (item) => hostWishlist.has(item.id),
    },
  },
});

Filled hearts follow the host set for that ItemRef. The widget still only recommends. It does not mutate the host wishlist.

source

ModeEffect
host-firstDefined host value wins. Else server field
server-firstServer field wins. Else host value
host-onlyIgnore server membership
server-onlyIgnore host resolver
capabilities: { wishlist: { source: 'server-first' } }

Server membership wins when both host and server values exist.

capabilities: { wishlist: { source: 'host-only' } }

Only isItemSaved decides filled hearts.

Hide hearts

Pass false to hide hearts.

capabilities: { wishlist: false }

Product cards no longer render wishlist hearts.

TopicPage
Product scopeOverview
Constructor fieldsConfiguration
PlacementSurfaces
Capability listCapabilities
HistoryHistory
PrivacyPrivacy
Message actionsMessage actions
ChatChat
SuggestionsSuggestions
Event optionsEvent options
AnalyticsAnalytics
SupportSupport
RecoveryRecovery
DevtoolsDevtools
DOM eventsEvents
Public typesAPI