> 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/add-on-features/set-up-stock-status-for-products/show-variant-table-in-product-detail.md).

# Show Variant Table in Product detail

Variant Table lists all of a product's variants in one table, each with its own price and quantity box, so B2B customers can add multiple variants to their order quickly instead of selecting one at a time.

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

Once enabled, this renders as an optimized layout on your storefront, fully customizable and built to handle everything from single-variant products to highly complex ones.

## Steps to manage

{% stepper %}
{% step %}

### Start creating

Open the app, go to **Quick Order Form**, then click **Create** under **Variants Tables**.
{% endstep %}

{% step %}

### Choose a template

On the **General** tab, under **Template**, choose one of two layouts based on your products' complexity:

* **Default** — a simple list, one row per variant.
* **Matrix column** — built for products with many variants and higher complexity, showing variant information in a matrix layout for easier bulk ordering.

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

{% step %}

### Choose your columns

Under **Show Columns**, turn on the toggle for each field you want — **Variant**, **Price**, **Stock**, **Quantity** — and drag-and-drop to reorder them.

{% hint style="info" %}
**Stock** pulls its data from the Stock Level feature — configure that first, or this column will have nothing to show. See [Set up Stock Status for products](/samita-wholesale-b2b/add-on-features/set-up-stock-status-for-products.md).
{% endhint %}
{% endstep %}

{% step %}

### Set when it appears

Under **Condition**, set **Apply to Products** (all products or only specific ones/collections/tags) and customer targeting (all customers or only specific logged-in customers).
{% endstep %}

{% step %}

### Design the table

Click the **Design** tab (the paint-roller icon) and style the table's colors to match your theme. To make the cart button match your theme's default cart button, enable **Same style as add to cart button**.
{% endstep %}

{% step %}

### Save

Click **Save**, 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/add-on-features/set-up-stock-status-for-products/show-variant-table-in-product-detail.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.
