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.

A split-screen comparison image showing two versions of an online store home page. The left side shows the default content with no special offers, and the right side shows personalized content based on the cart's total value with a free shipping offer.

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.

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