# Display and Storage of Line Item Option Values

The display and storage of option values in line items depend on specific option values and the fields configured in the Line Item Editor setup.

{% hint style="warning" %}
**Options** in the editor are **displayed as read-only by default**. However, quantities and prices can be **modified if the Quantity Editable or Price Editable settings are activated** in the option data configuration.
{% endhint %}

### Display of Specific Option Values

<table><thead><tr><th width="147">Option Value</th><th>Display Method</th></tr></thead><tbody><tr><td><strong>Quantity</strong></td><td>Displayed as the product of the configured product’s quantity and the option’s quantity.</td></tr><tr><td><strong>Total Price</strong></td><td>Displayed as the result of multiplying the option’s unit price by the option’s quantity.</td></tr></tbody></table>

#### Example

<figure><img src="/files/0opAeyza343ifEj52jly" alt=""><figcaption></figcaption></figure>

For an option with a quantity of 2 and a total price of $90, the calculation works as follows:

<table><thead><tr><th width="102">Option Field</th><th>Calculation Method</th><th>Result</th></tr></thead><tbody><tr><td><strong>Quantity</strong></td><td>Configured Product Quantity × Option Quantity</td><td>2 (Configured Product) × 1 (Option) = <mark style="color:orange;">2</mark></td></tr><tr><td><strong>Total Price</strong></td><td>Option Quantity × Option Unit Price</td><td>2 × $45.00 = <mark style="color:orange;">$90.00</mark></td></tr></tbody></table>

### Display and Storage Based on Line Item Column Settings

If an option value is mapped to a field that has been added as a column in the Line Item Editor, its display and storage behavior follow the column’s configuration:

* If the column has the “Do Not Save” setting enabled, the value will not be stored in the database, even though it is displayed in the editor.
* Fields not added as columns in the Line Item Editor will not be displayed in the editor but will still be stored internally.

{% hint style="warning" %}
If the mapped field in Salesforce has read-only field permissions, the field will not store the value even if included in the column settings.
{% endhint %}

#### Example: Total Price Field with "Do Not Save" Enabled

In this scenario, the Total Price field is mapped to the **TotalPrice** field in the line item but is configured with the “**Do Not Save**” setting in the editor:

<figure><img src="/files/q02zMtLipDc8OCEIPPYM" alt=""><figcaption></figcaption></figure>

The option’s **total price** is mapped to the line item’s **TotalPrice** **field**.

<figure><img src="/files/5X1ycKAvz1s3358Gv8GT" alt=""><figcaption></figcaption></figure>

When the option is added and saved, the **TotalPrice** field is **not stored** due to the “Do Not Save” setting.

<figure><img src="/files/VaNZlTG0SjBwfddZcnxn" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://help.smallbuilder.com/smallbuilder-line-items/product-option/display-and-storage-of-line-item-option-values.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
