How to Sell Products in Decimal Quantities on Shopify
You are creating a fabric store on Shopify. You want customers to buy fabric in decimal values like 1 meter, 1.5 meters, 2 meters, or 2.5 meters.
You expect customers to choose these values because that is how fabric is normally purchased.
You try to set this up in Shopify, but you run into a problem. Shopify only allows whole number quantities. It lets customers add 1, 2, or 3 units, but it never allows 1.5 or 2.5.
Even when you manually type a decimal value into the quantity box, Shopify converts it back to a whole number like 1 or 2 instead of 1.5 or 2.5.
You want a solution that lets you set the product unit in decimal values so customers can buy fabric in the measurements they need.

So is this possible in Shopify?
Shopify does not allow decimal values
No Shopify plan supports decimal quantities. Shopify only accepts whole numbers for product quantities. You cannot enable decimals on any plan.
You can still achieve what you want with a simple workaround.
You do not set your product unit as 1 meter. You set your product unit as 10 centimeters. This lets you convert any decimal measurement into whole numbers.
You now need 10 units for 1 meter and 100 units for 10 meters. Your customers can order any amount of fabric by choosing the correct number of units.
You can make this clearer by adding a short explanation on your product page. You can tell customers that 10 units equal 1 meter and 5 units equal 0.5 meters. This helps them understand exactly what they need to select.
You can also improve the shopping experience with a theme update. You can make the quantity selector show decimal values like 1, 1.5, 2, or 2.5 on the screen. In the backend the selector sends whole numbers to Shopify. For example, 1.5 becomes 15 units and 1 becomes 10 units.
Your customers see clean decimal measurements while your store continues to follow Shopify’s requirement for whole number quantities.
Need help or have feedback? Email me at[email protected]