WooCommerce - excelling eCommerce
WooCommerce Quantity Value (3 posts)

  1. eagletz101
    Posted 2 years ago #

    I'm using WooCommerce and am trying to allow decimals under the quantity value on the product page.

    This is the only resource i found:

    But can't follow through.

    I've tried to change all "int" that i can find to "float" on "woocommerce-functions.php" but still no luck. i've also searched my mysql database for any option to change "INT" to "DECIMAL" but can't find one. How to do it?

    thanks in advance.



  2. eagletz101
    Posted 2 years ago #

    So far, i can get it to allow decimal inputs but upon adding to cart, it reverts back to an integer. That will require me to update the cart (works) in order to get the decimal once more. i need it to automatically pull the decimal from product page to cart. thanks.

  3. rabbisteve
    Posted 1 year ago #

    Did you ever solve this. I belive that the code changed. My client needs to be able to type in decimal numbers as the amount, ie 1.32 kilos ..

    Thanks if you can help

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.