# Variants in Custom XML / CSV / XLSX export

If you also need to set the correct generation of variants for export, we recommend choosing a template with variants:

![](/files/mahVWm5lLrXtROIqPIkY)

The product variant is in a nested {{variant}} tag and enclosed in {{end}}. Variables inside {{variant}} ...... {{end}} always apply to a specific variant.

The condition for the correct functionality of variants is to have a paired identifier of variants ITEMGROUP\_ID (in custom format) paired in the import feed in other XML such as Google / Heureka / Zboží, etc. This is already solved automatically.

In the rules, you can work with individual variants, but also make adjustments to all variants of a given product - see Editing variants.


---

# 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.conviu.com/data-editing-xml-and-csv/variants-in-custom-xml-csv-xlsx-export.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.
