Item Variants In ERPNext

A version of an item that differs in size, colour, or manufacturer is called an Item Variants.

In ERPNext, item variant management allows businesses to standardize products using structured variant naming rules defined in Item Variant Settings.

For example, the T-shirt itself is referred to as the Item Template if it is available in the following sizes: Small, Medium, Large, Red, Blue, and Green. Each of these variations, such as the Blue T-shirt in Small, is referred to as an Item Variant.

This structure is especially powerful for ERPNext product variants in apparel and clothing businesses, where size and colour combinations must be managed efficiently.

In the absence of item variants, you would have to make distinct items for every combination, which would make data more complicated and require more upkeep.

1.Variant Naming in ERPNext

ERPNext provides flexible variant naming options that can be configured inside Item Variant Settings. The “Variant Naming Based On” option in ERPNext allows businesses to control whether naming is generated from item attributes, manufacturers, or the parent item code.

By defining variant naming based on the item or its attributes, ERPNext ensures consistency across all generated item variants. This helps maintain a professional SKU structure and avoids duplication.

1.1 Benefits of Item Variants

  • Combines several variations into a single template.
  • Enables all variations to receive bulk updates from the template.
  • Makes inventory management and reporting easier.

When Item Variant Settings in ERPNext are properly configured, variant naming rules automatically apply to every newly created variant.

2. Using Item Variants

It is possible to create variations based on:

  • Item Attributes (e.g., size, colour, material)
  • Manufacturers (such as versions tailored to a particular supplier)Tip: All of an item’s Variations can automatically receive the updated item template.

If variant naming is based on item attributes in ERPNext, the system dynamically builds the item code using selected attributes like Size and Colour.

3. Creating an Item Variant Template

  1. Go to:
    Home > Stock > Item
  2. Open an existing item or create a new one.
  3. Under the Variants section, turn on the Has Variants checkbox.

Before creating variants, ensure that the Enable Item Variant option is activated in Stock Settings of ERPNext.

  1. Include the Variant Attributes, such as Colour and Size.
    • You can specify ranges and intervals for numerical attributes (e.g., Size: 30-40, increment 2).
  2. Save the template.

When variant naming is based on the item in ERPNext, the generated variant name follows the parent template structure with attribute differentiation.

 

 

Important:

 

  • Templates cannot be used in transactions like Sales Orders or Purchase Invoices.
  • Only their variants can be sold, purchased, or manufactured.

4. Creating Item Variants

4.1 Based on Item Attributes

  • Click Create > Make Variant after opening the template item.
  • Select:
    • Single Variant: Pick just one set of characteristics (e.g., Colour: Blue, Size: Small).
    • Multiple Variants: Choose more than one attribute, and the system will generate every possible combination.

    Example:

    Colours: Red, Green, Blue and Black.

    Size: Small, Medium, Large.

    The final naming of each item variant depends on the global configuration set in ERPNext Item Variant Settings under the Variant Naming Based On field.

 

 

4.2 Based on Manufacturers

  • Set Variants Based On = Manufacturer in the template item.
  • Choose a manufacturer by clicking Create > Make Variant.
  • Enter a Manufacturer Part Number if you’d like.

In this case, variant naming in ERPNext can also be based on manufacturer logic, where the system appends a numeric or structured suffix to the template name.

  • The template name with a number suffix (such as Screwdriver-1) will be automatically used to generate variant names.

5. Using the Template to Update Item Variants

Go to:

Home > Stock > Items and Pricing > Item Variant Settings

Decide which template fields should be replicated across all variations.

Within ERPNext Item Variant Settings, administrators can control variant naming behavior, define how item variant naming is based on specific criteria, and standardize naming conventions across the system.

These settings ensure that variant naming based on item attributes, item codes, or manufacturer preferences remains consistent throughout ERPNext.

Any fields that you do not want to be updated automatically should be removed.

6.Best Practices for Managing Item Variants in ERPNext

To make sure that managing ERPNext variants goes smoothly, follow these best practices:

  • Always say what colour, size, and material the item is before making templates.

  • All variants should follow the same naming rules.

  • In the Item Variant Settings, make sure “Variant Naming Based On” is set up correctly.

  • When you use bulk variant generation, be careful not to make too many combinations.

  • Check for unused variants every once in a while, to keep the database clean.

By following these best practices, businesses can keep a professional SKU structure and an efficient way to manage their stock.

Conclusion

Item Variants in ERPNext make it simple to keep track of a lot of different product combinations without making things too hard. Setting up Item Templates, Item Attributes, and Variant Naming rules the right way can help businesses keep their inventory records clean, their stock tracking accurate, and their SKU structures professional.

No matter what you do—making clothes, manufacturing, or trading—ERPNext item variant management makes sure that your business can grow and run smoothly.

Follow for more

Zikpro LLP
Talk to our consultant
×
Hello! How can I help you?
Discuss ERPNext