• Resolved kristinubute

    (@kristinubute)


    HI

    Client is using Woocommerce. How can we achieve to allow decimals in Stock Quantity ?

    Eg. We only need increments of 0.5 allowance in stock quantity
    As long as Woocommerce will accept Quantity 10.5, 1.5, 6.5 or 20.5 etc
    Don’t need 8.2 or strange values like that.

    Is there a plugin or a function that I need to add to achieve this for my client ?

    Thanks
    Kristin

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there Kristin,

    I understand you are looking to allow selling in decimal quantities. There’s an extension that allows that available here:
    https://woocommerce.com/products/smart-product-quantity/

    If you were looking to do it via code, it appears there’s a solution for that here:
    https://stackoverflow.com/questions/27417718/woocommerce-decimal-quantity/33764898

    I hope that helps!

    Hi @kristinubute

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

    Thread Starter kristinubute

    (@kristinubute)

    Hi

    Thanks for replying.

    We actually don’t want to sell in decimal quantity for client to see (it doesn’t need to be at front end).. But we still want to be able to change the Qty field to allow decimal figures in the backend.

    How can we achieve this ?

    Also we just want to be able to change the STOCK QUANTITY available to decimal eg. Quantity available is 62.5

    Thanks in advance

    Regards
    Kristin

    Thread Starter kristinubute

    (@kristinubute)

    Hi

    I hope there is a solution for this in Woocommerrce

    In summary:

    * The quantity field as decimal does NOT need to display on client site
    * It is only the backend side of things we need to have this view of decimal (basically really just the Total Stock available for particular product) field …

    eg. We need to update Total Stock for particular product to be 26.5
    eg. We have Filemaker Pro that sends the Quantity of 26.5 to Woocommerce, but Woocommerce is NOT accepting the 26.5, it only displays the 26 rounded down. Hence that is why we need to have the decimal figure for total stock available

    Thanks in advance
    Kristin

    Thanks
    Kristin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Allow decimals in Stock Quantity in Woocommerce’ is closed to new replies.