0.5 Increment in product quantity

pmt
Visitor
1 0 1

Hello, 

I want to add product quantity in decimals, for example: 0.5, 1, 1.5, 2, 2.5 etc. How to do that.

Thanks.

Reply 1 (1)

Liam
Shopify Staff
2731 301 778

Hi Pmt,

 

In Shopify, the quantity field only allows for whole numbers and does not support decimal quantities. This is because the system is designed to track inventory in whole units.

However, there are a few workarounds you could consider:

  1. Product Variants: You can create product variants that represent the fractional amounts. For example, if you're selling fabric, instead of selling 0.5 yards as a quantity, you could create a variant called "Half Yard".

  2. Use an App: There are existing apps in the Shopify app store, such as Convert+, that allow for fractional quantities. These apps allow you to sell products by weight, length, or other measurements. 

  3. Custom Development: If none of these solutions work for you, you might consider hiring a Shopify expert to customize your store's theme to support decimal quantities.

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog