brotherton-erpnext/erpnext/docs/user/manual/en/stock/item/item-variants.md

3.0 KiB

Item Variants

What are Variants?

A Item Variant is a version of a Item, such as differing sizes or differing colours (like a blue t-shirt in size small rather then just a t-shirt). Without Item variants, you would have to treat the small, medium and large versions of a t-shirt as three separate Items; Item variants let you treat the small, medium and large versions of a t-shirt as variations of the one Item 't-shirt'.

Using Variants

Variants can be based on two things

  1. Item Attributes
  2. Manufacturers

Variants Based on Item Attributes

To use Item Variants in ERPNext, create an Item and check 'Has Variants'.

  • The Item shall then be referred to as a so called 'Template'. Such a Template is not identical to a regular 'Item' any longer. For example it (the Template) can not be used directly in any Transactions (Sales Order, Delivery Note, Purchase Invoice) itself. Only the Variants of an Item (blue t-shirt in size small) can be practically used in such. Therefore it would be ideal to decide whether an item 'Has Variants' or not directly when creating it.
Has Variants

On selecting 'Has Variants' a table shall appear. Specify the variant attributes for the Item in the table. In case the attribute has Numeric Values, you can specify the range and increment values here.

Valid Attributes

Note: You cannot make Transactions against a 'Template'

To create 'Item Variants' against a 'Template' select 'Make Variants'

Make Variants Make Variants

To learn more about setting Attributes Master check Item Attributes

Variants Based on Manufacturers

To setup variants based on Manufactueres, in your Item template, set "Variants Based On" as "Manufacturers"

Setup Item Variant by Manufacturer

When you make a new Variant, the system will prompt you to select a Manufacturer. You can also optionally put in a Manufacturer Part Number

Setup Item Variant by Manufacturer

The naming of the variant will be the name (ID) of the template Item with a number suffix. e.g. "ITEM000" will have variant "ITEM000-1"

Update Variants Based on Template

To update the value in the variants items from the template item, select the respective fields first in the Item Variant Settings page. After that system will update the value of that fields in the variants if that values has been changed in the template item.

To set the fields Goto Stock > Item Variant Settings Item Variant Settings