> 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/energy-label/advanced-setup/variants-support.md).

# Variants Support

The app fully supports Shopify variants, allowing you to display a **variant-specific** energy class badge, full energy label, and product information sheet \*\*\*\*based on the selected option.

To enable this, simply add the **EPREL Registration Number** to the relevant **variant metafield** in your Shopify admin:

1. In your Shopify admin, go to **Products**.
2. Create variants or open an existing variant.
3. For each variant, locate the **EPREL Registration Number** metafield.
4. Enter the correct EPREL number and click **Save**.

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

{% hint style="warning" icon="triangle-exclamation" %}
**Important notes:**

1. Variant-based energy badges appear only on:

* Product pages
* Cart drawer
* Cart page

Variant-specific badges **do** **not** appear on:

* Collection pages
* Search results

These templates typically use 'Color' as a swatch option and don’t reflect variant-level energy efficiency.

If you want energy badges to show in **Collection** and **Search**, we recommend also setting the **EPREL Registration Number** at the **product level**. This way:

* **Product-level badge** → visible in Collection and Search
* **Variant-level badge** → shown on the Product page, in the Cart drawer, and in the Cart after a variant is selected

2\. [Manual Efficiency Class for Legacy Products](/docs/energy-label/advanced-setup/manual-efficiency-class-for-legacy-products.md) feature **is not** supported for variants.
{% endhint %}


---

# 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://staylime.com/docs/energy-label/advanced-setup/variants-support.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.
