Item Attribute
Item Attributes define the characteristics of an item, such as size, color, material, or length. These attributes are used to generate Item Variants, allowing businesses to manage multiple versions of the same product without creating each item manually.
Instead of creating separate items for every possible combination, ERPNext lets you define reusable attributes and automatically generate item variants based on them. This simplifies inventory management while maintaining consistency across products.
1. What is an Item Attribute?
An Item Attribute represents a specific characteristic of an item that differentiates one variant from another. Multiple attributes can be combined to create numerous item variants.
Examples:
- Color – Red, Blue, Black
- Size – Small, Medium, Large
- Material – Cotton, Polyester
- Length – 1 m, 2 m, 3 m
A T-Shirt template can use two attributes:
- Color: Red, Blue
- Size: Small, Medium, Large
ERPNext automatically creates six variants by combining these attribute values.
2. How to Create an Item Attribute
Follow these steps to create a new Item Attribute:
- Go to Stock → Settings → Item Attribute.
- Click Add Item Attribute.
- Enter the attribute name (for example, Color or Size).
- Add the attribute values.
- Save the document.
Create attributes that are reusable across multiple products instead of creating separate attributes for every individual item.
3. Types of Item Attributes
3.1 Non-Numeric Attributes
Non-numeric attributes contain predefined text values that represent different variations of a product.
Examples:
- Color – Red, Blue, Green
- Size – S, M, L, XL
- Material – Leather, Cotton
Each value can also have an abbreviation, which ERPNext uses while generating Item Variant names.
Attribute: Size
- Small (S)
- Medium (M)
- Large (L)
The abbreviations help create shorter and cleaner variant names.
3.2 Numeric Attributes
Numeric attributes are used when the variation follows a measurable range instead of fixed text values.
While creating a numeric attribute, define:
- Starting Value
- Ending Value
- Increment
ERPNext automatically generates all values within the specified range.
Cable Length:
- From: 1
- To: 5
- Increment: 1
ERPNext creates the following attribute values:
- 1
- 2
- 3
- 4
- 5
4. How Item Attributes Work with Item Variants
Item Attributes are linked to an Item Template. ERPNext combines all selected attribute values to automatically generate Item Variants.
Example:
- Color: Red, Blue
- Size: Small, Medium
ERPNext generates:
- Red – Small
- Red – Medium
- Blue – Small
- Blue – Medium
Item Attributes only define the available characteristics. They cannot be used directly in transactions until Item Variants are generated from an Item Template.
5. Best Practices
- Create generic attributes that can be reused across multiple products.
- Use abbreviations for cleaner variant names.
- Use numeric attributes whenever values follow a measurable range.
- Avoid creating duplicate attributes with similar meanings.
- Plan your attribute structure before generating large numbers of variants.
Summary
Item Attributes define the characteristics used to create Item Variants in ERPNext. They can be either non-numeric (such as color or size) or numeric (such as length or capacity). Once linked to an Item Template, ERPNext automatically generates all possible variants, making inventory management faster, more consistent, and easier to maintain.