X-Cart supports four field types for attribute values:

When configuring an attribute, select the field type that best suits your needs. Below we provide detailed explanation of each type.

Plain field

Choose this field type if you need the attribute value to be a word/phrase of your choice.

You can use Plain field to specify such properties of a product as color, size, ISBN (for books), etc.: it is good for almost anything, provided you can describe it in a couple of words.

For example, we used it to specify the dimensions of a bag:

X-Cart Admin Areatype-plain-field.png
X-Cart Storefronttype-plain-field-c.png

Plain field type can be used to specify multiple values for one attribute.

For details, see Multi-value attributes (product options).

Textarea

This field type allows for a longer text length than Plain field and can be used to provide lengthier descriptions.

For example, we used it to add detailed information about the fabricof t-shirt:

X-Cart Admin Areatype-textarea.png
X-Cart Storefronttype-textarea-c.png

Starting with X-Cart 5.1, the Textarea attribute value field type can be used to add personalization options for products (i.e. provide an editable text area on the product page on the storefront so buyers can use it to enter their own custom text).

For details, see Personalization Options (Editable Textarea).

Yes/No

This field type is intended for attribute values that emphasize the presence or absence of some property or feature.

For example, we used it to emphasize the wirelessness of the headphones:

X-Cart Admin Areatype-yes-no.png
X-Cart Storefronttype-yes-no-c.png

The Yes/No field type can also be used to specify “Yes or No” options for products.

For details, see Multi-Value Attributes (Product Options).

Hidden field

This field type allows to add hidden global attributes to a product that can be seen and used by a store administrator only (e.g. to add some product info that should not be displayed to customers in the storefront but can be used for maintenance purposes like Google Product Feed module configuration).

Hidden field attribute unlike any other type of global attributes is displayed in a store Admin area only. If a hidden attribute is assigned to a product it can be checked in a special tab of the Attributes section on the product details page (Attributes -> Hidden attributes):

hidden-tab.png

For details on the hidden field attribute configuration, see the guide Hidden Global Attributes.