Add Attribute
Overview
Section titled “Overview”The Add Attribute form creates a new product attribute. Choose the attribute type, set its code and properties, and — for Option attributes — build the list of selectable values with optional color or image swatches.
Navigation
Section titled “Navigation”Sidebar: Attributes → Add Attribute
URL: /admin/product-attributes/create
How to create an attribute
Section titled “How to create an attribute”To create an attribute, open Add Attribute, name it, choose one of the five types, set its properties, and save.
- Open Attributes → Add Attribute.
- Enter a Name and Label. The Code is generated from the name and can be edited (lowercase letters, numbers, and underscores only).
- Choose a Type: Integer, Boolean, Option, Long Text, or Short Text.
- Set properties such as Required, Searchable, and Visible.
- For Option attributes, add option values and optionally set a color or image swatch for each.
- Save to create the attribute.
Fields
Section titled “Fields”| Field | Description |
|---|---|
| Name | Internal display name for the attribute |
| Label | Label shown on product forms |
| Code | Unique code, auto-generated and editable (a–z 0–9 _) |
| Type | Integer, Boolean, Option, Long Text, or Short Text |
| Scope | Global or Private (your organization) |
| Required | Whether the attribute must be filled |
| Searchable | Whether the attribute is available for search |
| Visible | Whether the attribute appears in listings |
| Variation attribute | Whether it can be used to build product variations |
| Options | Selectable values (Option type only) |
Options & swatches
Section titled “Options & swatches”Option attributes hold a list of values. Each option can be displayed as:
- Text — a plain label (default)
- Color — a color swatch from a hex value
- Image — an image swatch
Actions
Section titled “Actions”- Save — create the attribute
- Add Option — add a value (Option type)
- Remove Option — delete a value
- Cancel — discard and return to the list
Related
Section titled “Related”- Attribute Properties — full property reference
- Attribute List — browse and manage attributes
- Attribute Groups — organize attributes into groups
- Import Attributes — create many attributes at once from a JSON file