[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / StoreWhatsAppWidget

# Interface: StoreWhatsAppWidget

The WhatsApp button App, as the server serves it: each text in the page's
language, or null where the merchant wrote none in it — the theme's words
then. A theme reads it through `whatsAppContact`, never field by field.

## Properties

### accent

> **accent**: `"whatsapp"` \| `"primary"`

***

### agentName

> **agentName**: `string`

***

### attention

> **attention**: `boolean`

***

### avatarUrl

> **avatarUrl**: `string`

***

### caption

> **caption**: `string`

***

### ctaLabel

> **ctaLabel**: `string`

***

### href

> **href**: `string`

The chat link to the store's number, without a message.

***

### launcherLabel

> **launcherLabel**: `string`

***

### position

> **position**: `"right"` \| `"left"`

***

### prefillGeneral

> **prefillGeneral**: `string`

***

### prefillProduct

> **prefillProduct**: `string`

***

### prefillThankYou

> **prefillThankYou**: `string`

Message prefill for the thank-you surface's WhatsApp CTA; supports `{order}`.

***

### surfaces

> **surfaces**: `object`

#### catalog

> **catalog**: `boolean`

#### checkout

> **checkout**: `boolean`

#### home

> **home**: `boolean`

#### landing

> **landing**: `boolean`

#### pages

> **pages**: `boolean`

#### product

> **product**: `boolean`

#### thankYou

> **thankYou**: `boolean`

***

### thankYouButtonLabel

> **thankYouButtonLabel**: `string`

Button label for the thank-you surface's WhatsApp CTA.

***

### welcomeMessage

> **welcomeMessage**: `string`
