> For the complete documentation index, see [llms.txt](https://docs.shopwaive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shopwaive.com/shopify/checkout-extensions/automatic-discounts.md).

# Automatic Discounts

Apply discount codes automatically for customers in an eligible segment

{% hint style="info" %}
Shopify Plus brands can now trigger discount codes to apply automatically at Checkout for eligible customer segments. This feature requires Checkout extensibility for Shopify Plus and is integrated in the <mark style="color:blue;">**Redeem**</mark> Checkout extension
{% endhint %}

Use this feature to bypass the need for customers to manually enter a discount code if customers are in the customer segment defined for the discount.

<figure><img src="https://1743155819-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6HSAZj4RDucpQwVtzMYt%2Fuploads%2F4NS21vYoPtKX7AZDwQrV%2FAutomaticDiscounts.gif?alt=media&amp;token=58baba00-b217-4d7e-bc4b-85d277d69d26" alt=""><figcaption><p>Choose the discount codes to apply automatically for eligible customers</p></figcaption></figure>

**Step 1:** From the Shopify Discounts admin, create a discount code (i.e. SUMMER20) and select a customer segment (i.e. Customers tagged with **first\_order**).

{% hint style="info" %}
To use this feature, the discount is required to be created as a discount code, not an automatic discount. Also, the discount code has to be associated with at least one customer segment (but it can be associated with more than one)
{% endhint %}

**Step 2:** In the Shopwaive app, open **Settings** > **Checkout**. Under **Automatic Discounts**, tick the checkbox and click **Save**, then choose each discount in the **Discounts** list. To stop applying a discount, remove it from the list. The <mark style="color:blue;">**Redeem**</mark> block applies the code at checkout, so the block must be in your checkout: see [Checkout extensions](/shopify/checkout-extensions.md). It applies the code for a signed-in customer who is in the discount's segment and has a Shopwaive balance, and it tries the first three discounts in your list.
