> 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

Collect extra information from customers, like a PO number, before they check out from the Wholesale cart.

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="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-d90070f4a00b84051285cab6c4d54d097bc70e0e%2Fwholesale-cart-form-tab.png?alt=media" 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**.

{% hint style="info" %}
For a **File upload** field, customers can upload files up to **20 MB** each, with up to **20 files** and **25 MB** in total per submission. Files are kept as long as the app is installed, and their links are attached to the order under **Additional details** in your Shopify admin. See [File upload limits and retention](/samita-wholesale-b2b/registration-form/file-upload-limits-and-retention.md).
{% endhint %}
{% 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 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/set-up-cart-form.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.
