Is it possible to group template products in ERPNext's stock items?

Hello everyone,

I have a question about the stock items in ERPNext. I have several template products that are based on the same design, but with different variations (e.g., color, size, material). Is it possible to group these template products under a single item in the stock item list, instead of having them listed as separate items?

For example, let’s say I have a template product called “T-Shirt” with the following variations: “Small, Red, Cotton”, “Medium, Red, Cotton”, “Large, Red, Cotton”, “Small, Blue, Cotton”, “Medium, Blue, Cotton”, “Large, Blue, Cotton”, etc. Can I group all these variations under a single stock item called “T-Shirt”, so that I can manage them collectively?

I appreciate any insights you may have on this. Thank you!