> For the complete documentation index, see [llms.txt](https://docs.smind.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smind.io/guides/cart-drawer/discount-code.md).

# Discount Code

Enables promotion code entry in the cart for a smoother and more incentives driven checkout experiences.

<figure><img src="/files/7Do1acawf4b9R1SPXsQ1" alt=""><figcaption></figcaption></figure>

## **Key Features**

* Apply Discount Code Instantly: Lets customers instantly validate and apply their code, no page reload.

## Benefits

* Reduces Friction: The customers don’t have to hunt for the cart or checkout page, so they can enter the codes in-drawer that keeps the flow seamless.
* Improves UX on Mobile: A large, touch-friendly input in the drawer is simpler than scrolling a full cart page on small screens.

## How To Use?

1. Click **Add Block**
2. Choose **Discount Code**

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

3. Create a discount code on the Shopify Admin, to add the discount code go to **Discount > Create Discount**. [Click here to learn more about it](https://help.shopify.com/en/manual/discounts/discount-types/percentage-fixed-amount#create-a-fixed-value-or-percentage-discount)

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