# How to add the coupon to the cart sidebar

![](https://980438068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV0r5tR9bPLGnwB_pyk%2Fuploads%2FxEH8eBumTHRAKhLWGO2u%2Fimage.png?alt=media\&token=b0455c55-dca3-48f8-9818-419a436d74a6)

{% hint style="info" %} <mark style="color:red;">**DEMO**</mark>

[<mark style="color:blue;">**https://elessi.nasatheme.com/event-after-added-to-cart/**</mark>](https://elessi.nasatheme.com/event-after-added-to-cart/)
{% endhint %}

**First,** be sure you have enabled this feature:\
( **Woocommerce** > **Settings** > **General** )

![](https://980438068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV0r5tR9bPLGnwB_pyk%2Fuploads%2FG8Wgga58Bf9jpH7FKXYP%2FWooCommerce%20settings%20%E2%80%B9%20Elessi%20%E2%80%94%20WordPress%20%F0%9F%94%8A%202022-05-30%2010-46-18.jpg?alt=media\&token=ba9b74a3-e97e-4e60-bebe-fadbbcaf7ab3)

<mark style="color:blue;">**Step 1**</mark> - Simply go to **Marketing** > **Coupons** to add your coupon:

![1](https://980438068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV0r5tR9bPLGnwB_pyk%2Fuploads%2FrnkNmDKefAFNe2xG2e2c%2Fimage.png?alt=media\&token=e00adf8d-2f10-422e-a819-55e38d9739d8)

![2](https://980438068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV0r5tR9bPLGnwB_pyk%2Fuploads%2FJZkw2HUo3bvdXDaNuaZd%2Fimage.png?alt=media\&token=0a2f84ed-646e-4130-a145-a394553b0403)

<mark style="color:blue;">**Step 2**</mark> - Navigate to **Appearance** **→** **Theme Options** **→** **Product Global Options**

![](https://980438068-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MV0r5tR9bPLGnwB_pyk%2Fuploads%2FoAmbvwZFAs9rFQ8QXY0O%2Fimage.png?alt=media\&token=3c8c2fcb-7d6a-4743-97ec-dcf282d3fb81)
