Help · Start here

How Carboy reads sizes from variant names

The units Carboy understands, names that work, names it refuses, and how to fix them.

Updated October 2, 20262 min read

Carboy reads each size from the variant's name in Shopify, the text you see as Sample / 2ml or 250g bag. It looks for a number followed by a unit. When it can't be sure, it leaves the size empty for you to fill in. It never guesses.

Units it understands

  • Volume: ml, l, fl oz (also written fl. oz or floz).
  • Weight: g, kg, oz, lb and lbs.

Capitals don't matter (10 mL, 8 FL OZ) and the space is optional (5ml, 5 ml). Decimals can use a point or a comma: 2.5 ml and 2,5 ml are both 2.5 ml. A comma followed by exactly three digits separates thousands, so 1,000 g is 1 kg.

oz is always weight, 28.35 g. Volume is fl oz, 29.57 ml. A pool holds either volume or weight, and can mix units within it: 4 oz and 100 g sizes can share one sack.

Names that work

Variant nameRead as
5ml, 5 ml, 5 ML5 ml
Sample / 2ml2 ml
Full Bottle (100ml)100 ml
2.5ml, 2,5 ml2.5 ml
1L, 5 l1 l, 5 l
4 fl oz, 1 fl oz4 fl oz, 1 fl oz
250g bag250 g
1,000 g, 1.5 kg1 kg, 1.5 kg
4 oz, 12 oz bag4 oz (113.4 g), 12 oz (340.2 g)
1 lb, 2 lbs1 lb, 2 lb
1/2 lb, 1 1/2 lb, ½ lb, .25 lb0.5 lb, 1.5 lb, 0.5 lb, 0.25 lb
5 liters, 8 ounces, 1 pound, 500 grams, 1 kilothe same as the short forms
1 gallon, 0.5 gal1 gal (3785 ml), 0.5 gal

Names it refuses

Variant nameWhyWrite instead
Default Title, Large, Pack of 3No size in the nameAdd the size, or type it in Carboy
500mgMilligrams aren't read0.5 g
10/12 gLooks like a date, not a fraction0.83 g
1 quart, 2 pintsQuarts and pints aren't read32 fl oz, 32 fl oz
5-10mlA range isn't one sizeOne variant per size
ml 5The unit must follow the number5 ml

Two sizes in one name

When a name holds more than one size, Carboy reads the last one. 10ml / Refill 5ml is read as 5 ml, and 2 oz (57 g) as 57 g.

Watch for sets. 3 x 5ml is read as 5 ml, not 15 ml. When you make a pool by hand, untick a set or type 15 ml as its portion. Set up many uses names as they are, so rename sets in Shopify before you scan, or make that product's pool by hand.

Fixing a size

  • Making one pool: every portion is a field you can edit. Type the size (5 ml, 100 g) or untick the variant to leave it out.
  • Set up many: sizes come straight from the names. Variants without a readable size are listed as Not pooled and left out. A product needs at least two different readable sizes to be listed at all. Rename its variants in Shopify and scan again, or make its pool by hand.
  • Sealed full bottles and other variants that don't come out of the pool can stay unticked. Carboy leaves their stock alone.