Flair Theme Triggers: Cart and Variant Refresh | Flair

Theme Triggers

Oct 09, 2026

On this page

Overview

Flair theme triggers refresh Flair when dynamic content changes in your Shopify theme, such as variant changes, cart updates, or content from apps and custom integrations. This keeps your badges and banners accurate as shoppers interact with your store.

How to create a theme trigger

Then choose a trigger type:

Presets

Use trigger presets based on popular themes.

Event

Listen for JavaScript events on the page.

Content

Observe content changes (mutations) on the page.

Pro tip: Use caution when selecting Observe child elements. This should only be used on smaller portions of the page for best performance.

Example triggers

Dawn cart update trigger

Dawn variant update trigger

Horizon cart update trigger

Horizon variant update trigger

Frequently Asked Questions

Why aren't my Flair badges or banners updating when my variant or cart changes?

Flair needs to know when dynamic content changes in your theme. Choose a theme trigger preset for your theme or create a custom trigger.

What is the difference between an event trigger and a content trigger?

An event trigger refreshes Flair when your theme fires a JavaScript event. A content trigger watches for changes on the page, such as the cart icon or cart count.

Do I need to write code to set up a theme trigger?

No. Flair includes presets for popular themes. You can also create custom event or content triggers without writing code, but this is an advanced option. Feel free to reach out to support if you need assistance.

Navigation

Closecross-small