# Redeem in Cart Drawer

{% hint style="info" %}
This feature is available in **Pro, Advanced, Ultimate**
{% endhint %}

### What is this feature?

Picture your customer with $150 of skincare products in their cart and 800 loyalty points. Instead of forcing them to navigate away and risk losing their shopping momentum, the Cart Drawer Redeem Block lets them redeem points instantly within their cart.

They see "Redeem your points: 800 points," select "$25 off for every 250 points," and watch their total drop to $100 in one click: no disruption, no confusion – just seamless value recognition embedded directly in their purchase flow.

{% embed url="<https://go.screenpal.com/watch/cT1ZbrnXMrJ>" %}

### Why you should use this feature

Rising acquisition costs demand maximizing existing customer relationships over chasing new ones. Every redemption friction point represents lost revenue and weakened loyalty.

The Cart Drawer Redeem Block creates immediate gratification that builds psychological loyalty. When customers redeem points without disrupting their flow, they develop anticipation for future redemptions, shifting from price-shopping to loyalty-building.

### Setting up the Cart Drawer Redeem Block

{% stepper %}
{% step %}
**Enabling the embedded content block**

To add the Cart Drawer Redeem Block to your store, you'll need to configure it through Joy's embedded content settings and then implement it in your theme.

1. From your Joy Loyalty dashboard, navigate to **Embedded content**
2. Select the **Product page** tab
3. Locate **Redeem in Cart Drawer** in the available blocks list
4. Click **Edit in Theme Editor** to access the configuration options

<figure><img src="/files/sE7zdqVKlKDmpC2ZoAlv" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Enable the App embed in the Theme editor**

After opening the Theme editor, you can find and turn on the new Joy's app embed named "**Joy: Redeem in line**"

1. Switch to the **"App embeds"** tab
2. Turn on Joy's new app embed "**Joy: Redeem in line**"
3. Click save

<figure><img src="/files/p5P46kWBcAXtCr9M6xfg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Configuring display options**

The Cart Drawer Redeem Block includes several customization options to match your store's branding through the embedded content configuration panel.

**Button styling:**

* **Background color button apply** - Set the background color for the apply button
* **Text color button apply** - Configure the text color for the apply button
* **Border color button apply** - Customize the border color for the apply button

**Functional settings:**

* **Enable cancel discount** - Toggle to allow customers to remove applied discounts and restore their points
* **Reload page after applying coupon** - Enable page reload after discount application for theme compatibility, or disable for smoother AJAX-based updates
* **Hide block for guest users or Customers doesn't have enough points**
* **Minimal view layout/Detail view layout**

<figure><img src="/files/p5P46kWBcAXtCr9M6xfg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

<figure><img src="/files/c7P51HK6uGOya2SUQj5g" alt=""><figcaption></figcaption></figure>

**Implementing the code snippet**

{% embed url="<https://go.screenpal.com/watch/cOVDfUnrJsT>" %}

After enabling the block in your Joy dashboard, you'll need to add the redemption interface to your cart drawer template.

1. Access your Shopify theme editor
2. Navigate to your cart drawer template file: typically `cart-drawer.liquid` or similar
3. Insert the following code snippet where you want the redemption block to appear:

```liquid
<div class="joy-redeem-inline"></div>
```

{% endstep %}

{% step %}

<figure><img src="/files/8vFH8KoZj66d7WqpSz26" alt=""><figcaption></figcaption></figure>

**Save changes and watch results**

The redemption interface will automatically appear in your cart drawer once the code is implemented and customers have points available for redemption.

<figure><img src="/files/NGv3uTeCVvV1rFXu5TTp" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Frequently Asked Questions

**Can customers redeem multiple reward types in a single transaction?**

The Cart Drawer Redeem Block supports one active redemption per cart session. Customers can change their selection before completing checkout, but multiple simultaneous redemptions are not supported to prevent confusion and maintain cart clarity.

**What happens if a customer removes items from their cart after redeeming points?**

The system automatically recalculates applicable discounts when cart contents change. If the cart total falls below the minimum requirement for the applied discount, the system will notify the customer and may remove the discount, restoring their redeemed points.

**How does the redemption block handle cart drawer updates?**

The interface includes options for both page reload and AJAX-based updates. The AJAX option provides a smoother experience by updating cart totals without refreshing the page, while the reload option ensures compatibility with all theme types.

**Can merchants customize error messages for their brand voice?**

Yes, all error messages can be customized through the embedded content settings. Merchants can modify text to match their brand voice while maintaining clarity about redemption requirements and limitations.

**What happens to redeemed points if a customer abandons their cart?**

Points are only permanently deducted when a customer completes their purchase. If they abandon their cart or navigate away without checking out, their points remain available for future redemptions. However, any applied discount codes may remain in their cart session until manually removed.

**How does the feature handle different point-to-currency conversion rates?**

The system automatically calculates discount values based on your configured reward program settings. Whether you use fixed rates (like 100 points = $10) or variable rates, the interface displays accurate discount amounts and point requirements for each option.

**Can customers see their redemption history through the cart drawer block?**

The Cart Drawer Redeem Block focuses on current redemption actions rather than historical data. Customers should visit their loyalty page or account dashboard to view their complete redemption history and point-earning activities.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.joy.so/on-site-content/cart-drawer/redeem-in-cart-drawer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
