> 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/set-up-cart-form.md).

# Set up Cart form

The Wholesale cart can show a custom form so you can collect additional information from customers before they check out.

## Steps to manage

{% stepper %}
{% step %}

### Turn on the Wholesale cart

Open the app, click **Add-on Features**, turn on the **Wholesale cart** toggle, then click **Customize** to open its editor.
{% endstep %}

{% step %}

### Enable the cart form

Click the **Cart form** tab, then enable **Enable cart form**.

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

{% step %}

### Choose who sees the form

Set **Apply to Customers** to control who sees the form:

* **All customers** — everyone sees it.
* **Logged-in customers** — only customers logged in to your store see it.
* **Customer tags** — only logged-in customers with the tag you specify see it.

If you choose **All customers** but want to hide the form from certain tagged customers, tick **Exclude Customers**.
{% endstep %}

{% step %}

### Add the fields you want

In the **Elements** section, add or remove fields to collect exactly the information you need — for example **File upload**, **Purchase Order (PO) Number**, **Notes to seller**, or **Payment methods**.
{% endstep %}

{% step %}

### Save

Click **Save** in the bar that appears at the top of the page, then check the result on your storefront.
{% 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/set-up-cart-form.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.
