Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / WhatsAppContact

Interface: WhatsAppContact

The store's WhatsApp on one page, every text resolved — whatsAppContact.

Properties

accent

accent: "whatsapp" | "primary"


agentName

agentName: string

Who the shopper writes to: the merchant's agent, else the store.


attention

attention: boolean


avatarUrl

avatarUrl: string


caption

caption: string


ctaLabel

ctaLabel: string


href

href: string

The chat link, with this page's message in it.


launcherLabel

launcherLabel: string


orderButtonLabel

orderButtonLabel: string


position

position: "right" | "left"


surfaces

surfaces: object

The pages the floating launcher shows on (showsWidgetOn); a link elsewhere on the page does not depend on it.

catalog

catalog: boolean

checkout

checkout: boolean

home

home: boolean

landing

landing: boolean

pages

pages: boolean

product

product: boolean

thankYou

thankYou: boolean


welcomeMessage

welcomeMessage: string