"Variant of" in Item Template?


I’m currently setting up items in ERPNext and I’m confused with the “variant_of” property in the Variants Tab of an item template.

What should it be set to? What does it actually do? Should it be left empty?

For example, image i’m setting up a product called Cardboard. Then I want an item attribute “Size”, what should I include in the “Variant of” property.

Thank you

Check how item variants work in ERPNext:


You can leave the Variant Of field empty if the item is not going to be a variant.

Yes, if you want to create cardboard of different sizes, then variants would come in handy. First, you create the base or “template” item and the property on which variants will be created can be set to size.