> For the complete documentation index, see [llms.txt](https://docs.pakk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pakk.io/websites/product-categorisation/product-variants/custom-attributes.md).

# Custom Attributes

Variant group axes are just regular custom attributes.  Here we'll look at how some of the Custom Attribute settings affect how variant groups are displayed.

<figure><img src="https://2553116242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkTaBpmn8aX5KjLYTOO52%2Fuploads%2F4IxeBYv4NMX5v0I0fvaY%2FScreenshot%202024-11-05%20at%2009.40.48.png?alt=media&amp;token=105df9e4-536c-4e74-b013-1ebf16a4e959" alt=""><figcaption></figcaption></figure>

### Variant Selector Display

This determines how you'd like each 'variant' in the variant selector area to be displayed.  You have the following choices:

* Name only: simply shows the value of the variant
* Name and Description: shows both the value and description - note that this only works for 'Choice' type variants where you can add a description to each of the available choices
* Image only: shows an image for each of the variant values - the image used is the **first** product image
* Image and Name: as well as showing an image, the variant value is shown as well

### Help Link

If you'd like to provide more information to the customer to help them choose the correct variant, you can provide a link to an internal page.  Provide only the slug of the page, e.g. `more-information`.  You can also provide custom text for the link.

When the customer clicks the link they are presented with the information from the selected page in a modal pop up.

### Override Variant Selector Intro

By default this variant selector is introduced with 'Select {label}' where '{label}' is the website label of this custom attribute. You can override this text here, for example 'Choose your favourite colour'.


---

# 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.pakk.io/websites/product-categorisation/product-variants/custom-attributes.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.
