Cart-based experience
A personalized experience based on the shopping cart total amount.

Introduction
This template defines a personalized experience for e-commerce visitors based on their shopping cart total.
It can be used to encourage higher-order values by highlighting incentives such as free shipping after certain thresholds.
What's included
This experience includes 4 components, 2 slots (an announcement bar and a carousel section), and the following audience:
cart's total is less than 150
Define custom audiences using the Contextual Query Language (CQL), a readable, natural-language-inspired syntax designed for flexibility and ease of use. It supports, for instance, other comparisons like greater than or between.
Personalization with the cart variable requires tracking e-commerce events in advance.
Usage
To create a new experience using this template, run:
npx croct@latest use croct://experience/e-commerce/cart
Start building in seconds
Paste the following command in your terminal and let the CLI do the rest.
npx croct@latest init