> For the complete documentation index, see [llms.txt](https://docs.yoplanning.support/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yoplanning.support/en/yoplanning-academy/yoplanning-parametrage/parametrage-general-de-yoplanning/donnees-de-commande.md).

# Order Data

### What is this feature for?

The **Order Data** feature allows you to ask the buyer a question at checkout. Unlike attendee custom fields, this data is associated only with the current order and does not concern individual attendees.

It is useful for:

* Collect **general statistics**, such as *"How did you hear about us?"*
* Ask for an **order preference**, for example *"Do you want to be added to the carpool list?"*
* Ask any other questions that apply to the entire order.

The responses are then accessible in the order and in the order export for analysis.

***

### How to configure an Order Data?

1. **Access configuration**
   * Go to **Administration** > **Configuration**
   * Select the **Customer File** section
2. **Create a custom field for the order**
   * Click on **Add a field**
   * Enter an **internal name** (eg: "carpooling")
   * Set the **multilingual label** for the question that will be displayed to customers (eg: "Do you want to be added to the carpool list?")
   * Choose the **field type**:
     * **Short text**: Short answer in free text
     * **Long text**: More detailed answer
     * **Numerical**: Number only
     * **Choice List**: Selection from multiple options
3. **Define possible choices (if applicable)**
   * If you select a **choice list**, add the different possible answers
   * For each answer, please fill in the **multilingual label**
4. **Determine the field display**
   * Select whether the field is **optional** or **required**
   * Enable the display of the question at the time of payment
5. **Save and Test**
   * Once the field is created, perform a test command to verify its display and proper functioning.

***

### Where can I find this information?

* In the **order form**, under a specific section
* In the **order data export**, for further analysis

***

### Best practices and advice

* **Ask a clear and relevant question**: Formulate the question in a simple way to avoid any confusion.
* **Adapt possible answers**: If you use a list of choices, offer precise and adapted answers
* **Test regularly**: Check the display and recording of data before activating the question in production

***


---

# 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.yoplanning.support/en/yoplanning-academy/yoplanning-parametrage/parametrage-general-de-yoplanning/donnees-de-commande.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.
