> 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

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="/files/aN37IWVEv9m4kR7OQcua" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Open the editor

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

<figure><img src="/files/pcSvW9MiHrieowp8lV2F" 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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
