Attribute Value Field Types

A general overview of the types of attributes based on the attribute value classification.

Olga Tereshina avatar
Written by Olga Tereshina
Updated over a week ago

X-Cart supports four field types of attribute values:

When configuring an attribute, select the field type that best suits your needs. Below we provide a 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 the "Plain field" type to specify such properties of a product like color, size, ISBN (for books), etc.: it is suitable 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 Area

    type-plain-field.png
  • X-Cart Storefront

    type-plain-field-c.png

You can use the "Plain field" type to specify multiple values for one attribute. These attributes can also display differently in the storefront.

Textarea

This field type allows for a longer text length than the "Plain field" type and can provide lengthier descriptions.

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

  • X-Cart Admin Area

    type-textarea.png
  • X-Cart Storefront

    type-textarea-c.png

Starting with X-Cart 5.1, you can use the "Textarea" attributes 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 custom text).

For details, see Personalization Options.

Yes/No

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

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

  • X-Cart Admin Area

    type-yes-no.png
  • X-Cart Storefront

    type-yes-no-c.png

The Yes/No field type can also specify "Yes or No" options for products.

Hidden field

This field type allows adding hidden global attributes to a product that can be seen and used by a store administrator only. For example, when configuring the Google Product Feed add-on, you can add some product info in a hidden field for maintenance purposes that will not be visible in the storefront.

Unlike any other global attribute type, a hidden field attribute is displayed only in a store Admin area. For example, if you assign a hidden attribute to a product, it becomes visible in the "Attributes" tab 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.

Read on:

Related pages:

Did this answer your question?