Shops, wholesalers and marketplaces want a barcode (GTIN-13, also called EAN-13) on each variant: a black tee in M and in L need different codes. Type the company prefix GS1 gave you and your styles; this works out each code with its check digit, draws it, and gives you a printable label sheet and a CSV.
The prefix must be your own, licensed from GS1 (gs1.org); this tool never supplies one. Print a proof and scan it before ordering labels.