Magento Open Source 2.2.x

Attribute Input Types

When viewed from the AdminThe password-protected back office of your store where orders, catalog, content, and configurations are managed., attributes are the fields that you complete when you create a product. The input type that is assigned to an attributeA characteristic or property of a product; anything that describes a product. Examples of product attributes include color, size, weight, and price. determines the type of data that can be entered and the format of the field or input control. From the standpoint of the customer, attributes provide information about the product, and are the options and data entry fields that must be completed to purchase a product.

  • Attribute Input Types

    Property

    Description

    Text Field

    A single line input field for text.

    Text Area

    A multiple-line input field for entering paragraphs of text such as a product description. You can use the WYSIWYG Editor to format the text with HTML tags, or type the tags directly into the text.

    Date

    Date values can be entered by making a selection from a drop-down list, or popup calendar (). Depending on your system configuration, dates can be typed directly into a field, or selected from the calendar or list. To format date and time values, see: Date & Time Custom Options.

    Yes/No

    Displays a drop-down list with pre-defined options of “Yes” and “No.”

    Dropdown

    Displays a drop-down list of values. Only one item can be selected at a time. The Dropdown input type is a key component of configurable products.

    Multiple Select

    Displays a drop-down list of values. To select more than one option, hold the Ctrl key down and click each item.

    Price

    This input type is used to create price fields that are in addition to the predefined attributes, Price, Special Price, Tier Price and Cost. The currency used is determined by your system configuration.

    Media Image

    Associates an additional image with a product, such as a product logo, care instructions, or ingredients from a food label. When you add a media image attribute to the attribute set of a product, it becomes an additional image type, along with Base, Small, and Thumbnail. The media image attribute can be excluded from the media gallery.

    Fixed Product Tax

    Lets you define FPT rates based on the requirements of your locale.

    Visual Swatch

    Displays a swatch that depicts the color, texture, or pattern of a configurable product. A visual swatch can be filled with a hexadecimal color value, or display an uploaded image that represents the color, material, texture, or pattern of the option.

    Text Swatch

    A text-based representation of a configurable product option that is frequently used for size. Text swatches can also include hexadecimal color values.