> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/avante-themes/sections/products/product-details.md).

# Product details

The section below the buy area: the product description, a specification table built from metafields, and collapsible tabs for shipping, care and returns.

**Product details** sits below the buy area. It holds a long-form description with an optional lifestyle image, a specification table that fills itself from product metafields, and collapsible tabs for the policies you repeat on every product.

You write the table layout once. Every product fills it with its own data. Add a product, fill in its metafields, and its spec table is done.

{% hint style="info" %}
**Theme Editor → product template → Add section → Product details**

This section is only available on product pages.
{% endhint %}

***

### How to add

{% stepper %}
{% step %}

#### Open the theme editor

In the Shopify admin, go to **Online Store → Themes** and click **Customize**.
{% endstep %}

{% step %}

#### Switch to a product template

In the top template picker, switch to a **product** template.
{% endstep %}

{% step %}

#### Add the section

In the left sidebar, click **Add section** and choose **Product details**.
{% endstep %}

{% step %}

#### Place it

Drag it to where you want it. Most stores place it directly under the buy area.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
The section renders nothing until it contains at least one block. A freshly added **Product details** with no blocks looks missing from the page. Add a **Description**, **Table** or **Collapsible tab** block and it appears.
{% endhint %}

***

### Building the table from metafields

The **Table** block turns one paragraph into one row. The value can be a dynamic source, so the same block shows different data on every product.

{% stepper %}
{% step %}

#### Create the metafields

In the Shopify admin, go to **Settings → Custom data → Products** and create the metafields you want to show, for example *Material*, *Dimensions*, *Country of origin*.
{% endstep %}

{% step %}

#### Fill them in

Open a product and fill those metafields in.
{% endstep %}

{% step %}

#### Add a Table block

Back in the theme editor, add a **Table** block to **Product details**.
{% endstep %}

{% step %}

#### Write one row per paragraph

In **Table from metafields**, write one row per paragraph in the form `Label: value`. Press **Enter** between rows. Each paragraph becomes one row.
{% endstep %}

{% step %}

#### Connect the value

For the value, click the dynamic source icon next to the field and pick the metafield instead of typing a fixed value.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Press **Enter**, not **Shift + Enter**. Shift + Enter inserts a line break inside the same paragraph, and the theme reads paragraphs, so the two lines end up in a single row.
{% endhint %}

***

### Good to know

* **Empty values disappear instead of leaving a blank row.** If a product has no *Material* metafield, that row is skipped for that product. List every possible attribute once, and each product shows only the ones it has.
* **A line with no colon is dropped entirely.** The colon separates the label from the value, so a paragraph without one produces no row.
* **Only the first colon splits the row.** `Dimensions: 20:30 cm` gives the label *Dimensions* and the value *20:30 cm*. Later colons stay in the value, which is what you want for times, ratios and sizes.
* **Do not repeat the label inside the value.** The theme removes the label text from the value, so `Material: Material cotton` renders as *cotton*, and `Color: Colorful blue` loses the word *Color*, leaving *ful blue*.
* **List metafields are tidied up automatically.** Comma-separated values get even spacing and a stray trailing comma is removed.
* **Values that are only a comma or only a slash are treated as empty** and the row is skipped. This keeps rows from appearing when a list metafield was created but never filled.
* **The Description block shows the product description, not text you type.** The **Text** field is extra content shown alongside it. If the product has no description and the Text field is empty, the block renders nothing.
* **Curly braces style part of a heading.** Anything you wrap in `{ }` inside a block heading uses the theme's accent style, for example `Product { details }`.
* **The section has no colour scheme or background setting.** It inherits the page background. Use the padding settings to separate it from neighbouring sections.
* **A Collapsible tab can pull its content from a page.** Point it at a Shopify page and the tab shows that page's content. Update the page once and every product updates with it.
* **These are not the collapsible tabs in the buy area.** The product form has its own collapsible rows. These ones live in this section, below the fold.

***

### Customization ideas

* **Make the first tab the one people actually open.** Shipping and returns beat *About the brand* on almost every store.
* **Use one Table block per topic.** Add a second **Table** block with its own heading to split *Specifications* from *Care instructions*. The block is repeatable.
* **Pair the description with a lifestyle shot.** The Description block can show a product image on desktop. Use an in-context photo rather than the packshot already in the gallery.
* **Keep the description short and let the table do the work.** Scannable rows outperform a wall of prose for anything measurable.
* **Give tabs distinct icons** so shipping, care and returns are recognisable before the shopper reads the label.
* **Collapse a long description** so the page stays scannable, and let shoppers expand it for the full story.

***

### Settings

<details>

<summary>Section settings</summary>

**Section width** — a wide, full-container layout or a narrower column. Narrow suits text-heavy pages. Wide suits large tables.

**Subheading** — a small label above the section content.

**Subheading size** and **Subheading tag** — the visual size and the HTML heading level. The tag also sets the heading level used by the blocks inside, which keeps the page's heading structure correct for search.

**Tab heading size** — the size of the headings on collapsible tabs.

Padding settings control the space above and below the section on desktop and mobile separately. Negative values pull this section tight against the one above it.

</details>

<details>

<summary>Description block</summary>

One per section.

**Show product image on desktop** — displays an image next to the description text on larger screens.

**Heading** — defaults to the product title via a dynamic source, so it stays correct on every product. Wrap part of it in `{ }` for accent styling.

**Text** — optional content shown in addition to the product description.

**Collapse** — hides the overflow behind a *Show more* control. When it is on, you can set how many lines are visible on desktop and on mobile, and edit the labels of the expand and collapse links.

The remaining settings cover the image corner radius, the heading size, the heading colour (solid or gradient) and the body text size.

</details>

<details>

<summary>Table block</summary>

Repeatable. Add as many as you need.

**Heading** — the title above the table. Wrap part of it in `{ }` for accent styling.

**Table from metafields** — the rows, one paragraph per row in the form `Label: value`. Use the dynamic source icon on the value side to pull from a product metafield.

The remaining settings cover the heading size, the heading colour (solid or gradient) and the table text size.

</details>

<details>

<summary>Collapsible tab block</summary>

Repeatable. One block per tab.

**Heading** — the label shoppers click.

**Text** — the content revealed when the tab opens.

**Icon** — pick from the theme's icon set, or choose the custom option and upload your own image.

**Page** — show a Shopify page's content inside the tab instead of typing it here. Use this for shipping and returns policies reused across the catalogue.

The remaining settings cover the heading size, the heading colour (solid or gradient) and the text size.

</details>

***

### Best practices

* Put the information that prevents returns — sizing, materials, dimensions — in the table, where it is scannable.
* Create your metafields before you build the table, so you can pick them from the dynamic source list rather than typing values by hand.
* Keep labels short and consistent across products: *Material*, not *What this product is made of*.
* Limit yourself to three or four tabs. More than that and shoppers stop opening any of them.
* After setting the table up, preview two or three very different products to confirm the empty rows drop out.

***

### Related

* [Product bundle](https://staylime.com/docs/avante-themes/sections/products/product-bundle.md)
* [Default product](https://staylime.com/docs/avante-themes/templates/default-product.md)


---

# 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://staylime.com/docs/avante-themes/sections/products/product-details.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.
