# Attributes

{% hint style="info" %}
A single Gallery, File, and Multiselect type attribute is limited to a maximum of 100 elements (options) attached to it
{% endhint %}

The idea of attribute management is at the core of efficient product catalog enrichment and distribution. On the following pages, we will show you our thinking behind the role of attributes in our Ergonode PIM system.

## What is an attribute?

Photos, videos, technical data, file numbers, price and shipping information, or product descriptions in the right context become key tools to help customers make purchasing decisions on the Internet. They allow for describing and mapping product data in the digital world.

This set of tools is called product information, it is a comprehensive collection of all information describing the product.&#x20;

The illustration below shows some specific attributes designed for an assortment of lightbulbs:

* image (to upload photos e.g. JPG, PNG)
* unit (to describe height, diameter, and luminosity)
* select (for selecting color variants of a lightbulb)

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FqmqEqBRTLd2RxLPvp3KS%2Fimage.png?alt=media&#x26;token=63b3e1ea-e98a-43d2-9b40-81a8f16bf251" alt=""><figcaption></figcaption></figure>

## Different types of attributes in Ergonode

There are 12 attribute types in Ergonode.

| Attribute         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text              | This attribute is a field with a single line of text.                                                                                                                                                                                                                                                                                                                                                                                                   |
| Text area         | This is a multi-line text field attribute with the possibility of enabling rich-text functionality, with a build-in JS Editor, allowing for block-styled editable modules of content, including paragraphs, headings, images, lists, and more.                                                                                                                                                                                                          |
| Unit              | Used to present units according to the SI system (i.e., 200hz or 3m) and fully customized units (for example special custom packaging units). When used a unit selector appears underneath. This unit will appear with the entered attribute value.                                                                                                                                                                                                     |
| Image             | Used to present photos in the most popular formats, such as main product image or context use product image.                                                                                                                                                                                                                                                                                                                                            |
| Gallery           | An attribute used to present multiple images in the most popular formats. Users can view images in “slider mode”. The Gallery attribute is linked directly with assets and any image uploaded to the media directory can be attached to it.                                                                                                                                                                                                             |
| File              | With this attribute, you can link any file uploaded to the asset directory (for example doc/sheets/presentations/images/zip files).                                                                                                                                                                                                                                                                                                                     |
| Numeric           | Used to present numbers only, for instance, the number of products in stock. The number cannot starts with 0 (zero) Ex: 01 will be trimmed to 1. To store a number that starts with 0 please use text type attribute.                                                                                                                                                                                                                                   |
| Select            | Used when out of multiple options only one can be chosen i.e., country of origin. After choosing this attribute, a second-level choice appears allowing an option code to be provided. To add an option code simply press the “+Add Option”, this can also be done directly from the product card (see screenshot below). To remove an option click the bin icon. Options can also be arranged in a desired order by dragging and dropping them.        |
| Multi select      | Used to present multiple options where one or more can be chosen, for instance, colors on a bicycle or constituent materials of the fabric used in the manufacture of an article of clothing. To add an option code simply press the “+Add Option”, this can also be done directly from the product card (see screenshot below). To remove an option click the bin icon. Options can also be arranged in a desired order by dragging and dropping them. |
| Date              | Used to specify a date in a selected format, for example, to denote a product’s expiry date.                                                                                                                                                                                                                                                                                                                                                            |
| Price             | Used to denote prices in selected currencies. While creating this attribute, a currency selector will appear.                                                                                                                                                                                                                                                                                                                                           |
| Product relations | Used to denote relationships between two different products for the purposes of cross-selling or upselling. Two-way relations can be created by editing the product relation attribute on the [product template tab](https://usermanual.ergonode.com/products/catalog/template).                                                                                                                                                                        |

{% hint style="info" %}
The limit on the number of products linked to a single product via the product relations attribute is 100
{% endhint %}

{% hint style="success" %}
Information on how to work with the grid can be found [here](https://usermanual.ergonode.com/products/catalog/system-views/table-view-grid-view)
{% endhint %}

To edit an attribute click on the *edit - pen icon*. There are three tabs in edit mode [General](https://usermanual.ergonode.com/product-design/attributes/general),  [Translations](https://usermanual.ergonode.com/product-design/attributes/translations), and [Metadata](https://app.gitbook.com/o/-MYEHeJzjM7kDdfKkmLk/s/M9BbYBbDPiJapb75xJ2k/~/changes/130/product-design/attributes/metadata).

{% hint style="info" %}
There may be a 4th and 5th tab called [Options ](https://usermanual.ergonode.com/product-design/attributes/options)and [Custom fields](https://usermanual.ergonode.com/product-design/attributes/custom-fields) if you are editing attributes with options ex: select or multi select.
{% endhint %}

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FsqjXa3AWLiAojCc2EVND%2Fimage.png?alt=media&#x26;token=5965e571-21ce-4e3e-a1f8-814b065e3caa" alt=""><figcaption></figcaption></figure>

To delete an attribute click on the *bin icon*.&#x20;

{% hint style="info" %}
Attributes cannot have any relations in order for them to be deleted.
{% endhint %}

<figure><img src="https://171427267-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM9BbYBbDPiJapb75xJ2k%2Fuploads%2FzIrBwll4sxtqIFuVCb5T%2Fimage.png?alt=media&#x26;token=073c5326-40b7-47f6-ad37-9499bd733f1b" alt=""><figcaption></figcaption></figure>
