• I don’t see a solution, even for the previously closed topic with similar title, but I have a site that requires half quantities, so 0.5, 1.0, 1.5, etc. The current plugin keeps asking me to use integers for both a minimum and the step. I would need it to only apply to certain categories and/or products, but categories or tags if simpler is fine by me. Any chance this is a quick change without resorting to hacking? Thanks in advance.

    https://www.ads-software.com/plugins/woocommerce-incremental-product-quantities/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The isn’t isn’t the input fields not allowing you to enter the number as a decimal but rather WooCommerce allowing you to checkout with fractional quantities.

    To allow for decimal values simply add step=”any” to the number input boxes but you’ll notice if you do that in the cart and hit update WooCommerce spits out a whole number output.

    Thread Starter dtdgoomba

    (@dtdgoomba)

    So is there no way to checkout with partial quantities if Woocommerce spits out whole numbers? I only really need half steps .5, 1.0, 1.5. Seems like a big flaw on their end. I know thee is a Measurement plugin, but that seems like overkill for what I need and this plugin seems to do what I mostly want.

    Is any solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Decimal/non-integer increments’ is closed to new replies.