Articles on: Product & Campaigns

Variant Functions

The Variant Functions feature allows you to display the correct preview image depending on the product variant your customer selects (e.g. showing a white shirt preview when selecting the "White" color variant). This ensures that customers see the most accurate representation of the product before adding it to cart.

When to Use This Feature


If you offer a product in multiple color variants (e.g. White, Black, Sport Grey), and each color has a different preview image, this tool lets you assign the correct preview to the corresponding variants.

How to Use Variant Functions


Step 1: Access Variant Functions


After saving your campaign,
Scroll down to the Variant Functions section and click + Add.

Click add variant functions

Step 2: Select the Function


From the Function dropdown, select "Change previews".

Step 3: Assign Variants


In the Variants field, select all product variants (e.g. White / M, White / L, White / XL, etc.) that should show the same preview image.
For easier selection, you can type the name (e.g. "white") to filter options.
Select the variants

Step 4: Set the Preview Index


In the Index field, input the corresponding number for the preview image you want to show (starting from 1).
For example, if the white shirt preview is the first image in your preview list, enter 1.

First preview will be index 1, next is 2

Step 5: Repeat for Other Variants


Click + Add again to create another function for a different variant group (e.g. Sport Grey variants).
Assign relevant variants and corresponding index as needed.



Step 6: Save


Once all mappings are added, click Save at the bottom of the campaign editor.

Notes


Index refers to the position of the preview image in the "Previews" list (from left to right).
You must upload all previews in your template first and remember their order before setting indexes.
If a variant is not assigned to any preview, it will default to the first preview.

Updated on: 22/06/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!