Multi-Product Templates

Multi-product templates let you send a curated selection of products from your WhatsApp Commerce catalog. When the user taps the button, they see a product list organized into sections that they can browse and add to cart directly within WhatsApp.

Prerequisites

Before creating multi-product templates, you must:

  1. Set up commerce messaging on your WhatsApp channel -- connect a Facebook catalog to your WhatsApp Business Account. Follow the guide: Set up commerce messagingarrow-up-right.

  2. Get your product IDs from the connected catalog in Facebook Commerce Managerarrow-up-right. Open your catalog and copy the content IDs of the products you want to feature. These IDs are used as externalProductId values in the template.

circle-exclamation

Block Structure

A multi-product template uses a single whatsapp-multi-product block:

Component
Required
Description

Header

Yes

Text, image, or file header

Body text

Yes

Main message text (max 1024 characters)

Footer text

No

Text below the body (max 60 characters)

Multi-product action

Yes

Button that opens the product selection view


Multi-product templates require a header, which can be text, image, or file.

Text header:

Image header:

circle-info

If you need to host media, use the Media Library API to upload files and get a mediaUrl. See Image Template Blocks -- Uploading media for the full upload flow.

Body

The body is mandatory and describes the product selection.

Optional text footer, max 60 characters.


Multi-Product Action

The multi-product action creates a "View products" button. Products can be organized as a flat list or grouped into sections.

With product sections (static)

Products organized into named sections:

With a flat product list

Products as a simple list without sections:

Property
Required
Description

parameterKey

Yes

Variable key for dynamic product data

thumbnailExternalProductId

No

Product ID to use as the button thumbnail

productSections

No

Products organized into named sections (1--10 sections)

productList

No

Flat list of products (1--30 products)

circle-exclamation

Complete Example


Constraints

Rule
Limit

Product sections

1--10

Products per section

1--30

Products (flat list)

1--30

Header type

Text, image, or file


Last updated

Was this helpful?