This fabric store has a roll of fabric that is 100 meters long. They would like to allow customers to buy this roll of fabric in multiples of 0.5 meter, 1 meter, or 2 meters.

The store create a new product on Shopify for this fabric with a variant option named size. The option values are 0.5m, 1m 2m

The shop has 100 meter of this roll of fabric.

Initially they would have the following inventory quantity:

0.5m: Quantity = 200 (100 meter / 0.5 meter)

1m: Quantity = 100 (100 meter / 1 meter)

2m: Quantity = 50 (100 meter / 2 meter)

The quantity shall decreases whenever a fabric is sold.