> For the complete documentation index, see [llms.txt](https://help.amplorium.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.amplorium.com/doc/smart-features/caption-variables.md).

# Caption Variables

Amplorium’s **Caption Variables** let you auto-generate product captions using dynamic variables from your Shopify store. Templates save time, ensure consistency, and let you tailor your messaging at scale.

#### 🧩 Dynamic Variables

You can include the following fields in your caption template:

* `{TITLE}` — Product title
* `{DESCRIPTION}` — Product description
* `{PRODUCT_TYPE}` — Type/category
* `{MIN_PRICE}` / `{MAX_PRICE}` — Pricing info
* `{OLD_PRICE}` — Compare-at price
* `{CURRENCY}` — Product currency
* `{SKU}` — Product SKU
* `{VENDOR}` — Product vendor/brand
* `{STORE_URL}` — Your store’s link
* `{TAGS}` — Product tags

#### ⚙️ Formatting Instructions

Modify how variables are displayed by adding **formatting codes**:

| Format      | Meaning                             | Example               |
| ----------- | ----------------------------------- | --------------------- |
| `:W10`      | Limit to 10 words                   | `{DESCRIPTION:W10}`   |
| `:C50`      | Limit to 50 characters              | `{TITLE:C50}`         |
| `:P2`       | Limit to 2 paragraphs               | `{DESCRIPTION:P2}`    |
| `:L3`       | Limit to 3 lines                    | `{DESCRIPTION:L3}`    |
| `:DNo info` | Default text if empty               | `{VENDOR:DNo info}`   |
| `:Sstop`    | Truncate at stop word (e.g. "stop") | `{DESCRIPTION:Sstop}` |

These controls help you keep captions short, clear, and tailored to each platform’s best practices.

#### 💡 Example Template

{% columns %}
{% column %}

> Introducing: {**TITLE**}> \
> Only {**CURRENCY**}{**MIN\_PRICE**}! 🔥
>
> \
> {**DESCRIPTION:W20**}
>
> \
> Shop now: {**STORE\_URL**}> \
> \#newarrival #shopify
> {% endcolumn %}

{% column %}

> Introducing: **LED High Tops**> \
> Only **$80.0!** 🔥
>
> \
> **Black high top shoes with green LED lights in the sole, tied up with laces and a buckle**.
>
> \
> Shop now: **<https://your-shop.myshopify.com/products/led-high-tops>**
>
> \#newarrival #shopify
> {% endcolumn %}
> {% endcolumns %}

This example:

* Uses the product title
* Shows the minimum price with currency
* Trims the description to 20 words
* Includes your store link and hashtags


---

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

```
GET https://help.amplorium.com/doc/smart-features/caption-variables.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.
