> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/samita-wholesale-b2b/setting/activate-discount-box-at-cart-page.md).

# Activate Discount box at cart page

Let customers enter an extra discount code on your theme's own cart page, not just the app's cart drawer.

Beyond the app's cart drawer, you can also add a discount code box to your theme's own cart page, so customers can apply an additional discount code at checkout.

## Steps to manage

{% stepper %}
{% step %}

### Turn on the Wholesale cart

Open the app, click **Add-on Features**, turn on the **Wholesale cart** toggle, then switch the dropdown next to it from **Cart Drawer** to **Cart Page**. "Cart page" refers to your theme's own cart page — the app itself only provides a cart drawer, but it can add the discount box to your theme's cart page too.

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-0152fdf5329c8291cf0d637dbf9d5bc0198fe52b%2Fadd-on-features-overview-top.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Open the editor

Click **Customize**, then click the **Appearance** tab.

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-da897545ee32ed4b3d522d8358967003006e3329%2Fwholesale-cart-appearance-tab.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enable the discount box

Under **Box discount**, enable **Enable discount box** so customers can apply an extra discount code at checkout.
{% endstep %}

{% step %}

### Save

Click **Save** in the bar that appears at the top of the page. Your theme's cart page now shows a discount box field.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.samita.io/samita-wholesale-b2b/setting/activate-discount-box-at-cart-page.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
