Attribute Dictionary
The Attribute Dictionary defines all available product attributes for your organization. Create consistent, standardized product data.
How to create and configure attributes for your product catalog.
What are Attributes?
Attributes are the individual properties that describe a product. They represent specific characteristics like:
- Color, Size, Material
- Weight, Dimensions
- Warranty, Certifications
- Technical specifications
The Attribute Dictionary is a centralized repository where you define all attributes available across your product catalog. This ensures consistency and enables standardized data across all products.
Attribute Structure
Each attribute definition includes:
| Property | Description | Example |
|---|---|---|
| Key | Unique identifier (snake_case) | shaft_flex |
| Name | Human-readable display name | Shaft Flex |
| Type | Data type (enum, text, number, etc.) | enum |
| Values | Allowed values (for enum types) | Regular, Stiff, X-Stiff |
| Category | Grouping for organization | Golf Equipment |
| Required | Whether products must have this attribute | Yes/No |
| Facetable | Used for filtering/faceted search | Yes/No |
| Searchable | Indexed for full-text search | Yes/No |
Attribute Types
MerchantOps supports several attribute types:
| Type | Description | Use Case |
|---|---|---|
enum | Predefined list of values | Color, Size, Material |
text | Free-form text | Description, Notes |
number | Numeric values | Weight, Price, Length |
boolean | True/false values | Waterproof, Rechargeable |
date | Date values | Release Date, Warranty End |
Tip: Use enum type whenever possible for categorical data. This ensures consistency and enables better filtering and faceted search.
Viewing the Attribute Dictionary
To access the Attribute Dictionary:
- Navigate to Catalog → Attributes in the sidebar
- Browse the list of defined attributes
- Use search and filters to find specific attributes

Filtering Options
- By Type: Show only enum, text, number, etc.
- By Category: Filter by attribute category
- By Flags: Required, Facetable, Searchable
- Search: Search by name or key
Creating Attributes
To create a new attribute:
- Click "Add Attribute"
- Fill in the attribute details
- For enum types, add the allowed values
- Configure flags (Required, Facetable, Searchable)
- Click "Create"

Enum Values
For enum type attributes, you'll need to define the allowed values:
- In the attribute form, scroll to Values
- Click "Add Value"
- Enter the value (e.g., "Red", "Blue", "Green")
- Repeat for all allowed values
Values can be:
- Reordered by dragging
- Edited after creation
- Deleted (with caution - see best practices)
Attribute Detail Page
Click on any attribute to see its full details:

Detail Sections
- Overview: Basic attribute information
- Values: List of enum values (for enum types)
- Product Types: Which product types use this attribute
- Usage Stats: How many products have this attribute
Editing Attributes
To edit an existing attribute:
- Open the attribute detail page
- Click "Edit"
- Modify the fields as needed
- Click "Save Changes"
Warning:Changing an attribute's key will affect all products using this attribute. The attribute type cannot be changed after creation.
Managing Enum Values
You can add, edit, or remove enum values:
- Add: Click "Add Value" to add new options
- Edit: Click on a value to rename it
- Delete: Remove values no longer needed
Caution: Deleting an enum value may affect products currently using that value. Products will show the old value until updated.
Bulk Upload (CSV)
For large attribute sets, you can upload attributes via CSV:
- Click "Import CSV"
- Download the template file
- Fill in your attributes
- Upload the completed CSV
- Review and confirm the import
CSV Format
| Column | Required | Description |
|---|---|---|
key | Yes | Unique attribute key |
name | Yes | Display name |
type | Yes | enum, text, number, boolean, date |
values | For enum | Pipe-separated values (e.g., Red|Blue|Green) |
category | No | Category name |
required | No | true/false |
facetable | No | true/false |
searchable | No | true/false |

Deleting Attributes
To delete an attribute:
- Open the attribute detail page
- Click "Delete"
- Confirm the deletion
Warning: Deleting an attribute removes it from all product types and products. This action cannot be undone. Consider archiving instead if you might need the data later.
Best Practices
Naming Conventions
- Keys: Use lowercase snake_case (
shaft_flex) - Names:Use Title Case for readability ("Shaft Flex")
- Be specific:"Weight (oz)" is better than just "Weight"
Type Selection
- Use enum for categories: Colors, sizes, materials work best as enums
- Use number for measurements: Weight, dimensions, prices
- Reserve text for descriptions: Long-form content that varies per product
Organization
- Use categories: Group related attributes together
- Mark facetable attributes: Enable filtering on commonly used attributes
- Be selective with required: Only mark truly essential attributes as required
Next Steps
After setting up your attributes:
- Create Product Types that use your attributes
- Import products with attribute data
- Review core concepts for the full data model