> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aftersell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Checkout Triggers

> This article explains how to create and manage triggers and the underlying logic, so you can understand what customers will see.

Triggers enable you to segment your customers and display a customized set of widgets for each of them. By using triggers, you can design more precise and personalized widgets:

* [Products](#products)
* [Cart](#cart)
* [Discount](#discount)
* [Customer](#customer)
* [Advanced](#advanced)

  <img src="https://mintcdn.com/aftersell/-rWsYKdgi77hTRax/images/aftersell/08c30727aa38.gif?s=7ea4b2c582f3134de7541d8783eda4d2" alt="Image" width="872" height="1080" data-path="images/aftersell/08c30727aa38.gif" />

***

### **Products**

The Product Trigger works by displaying the widget only if the customer has purchased a specific product.

* Specific products:

  Use this option for individual products or variants. Select the products you want to trigger the widget. When a customer purchases any of these products, the widget will appear.

* Specific collections:

  This option works when any item in the cart belongs a specific collection. Select the collection you want to trigger the widget. When a customer purchases any item from the collection, the widget will appear.

  * You can set the product/collection trigger to show for all customers or conditionally based on the following criteria:

    1. Contains at least one of:

    Shows the widget if the cart contains at least one of the selected products/collections.

    2. Does not contain any of:

    Shows the widget if the cart does not contain any of the selected products/collections.

* Quantity of specific product:

  For example, 2 or more of a specific product

  Set the trigger to show the widget if a customer purchases two or more of a specific product.

***

### **Cart**

* Subtotal:

  The combined value of all items before discounts, tax, and shipping.
* Quantity:

  The total number of items in the cart.
* Subscription purchase:

  Indicates if any item in the cart is a subscription.

***

### **Discount**

* Applied discount titles:

  Verify if a specific discount is applied during checkout
* Discount value:

  Track the total sum of discounts applied at checkout

***

### **Customer**

* Shipping country:

  Target specific shipping destinations
* Customer language:

  Display personalized content based on the customer's language.

  For example, show French content exclusively to French-speaking customers.

  You can set the customer language trigger to "**is French**" and translate all editable fields in the widget to French.

***

### **Advanced**

* Group of triggers:

  Combine multiple triggers for complex logic

  For example, show a widget if a customer has both product X and product Y in their cart.

  You can set the product trigger condition to contain both product X and product Y, so the widget will appear accordingly.
