Product quantity not increasing correctly

Top WooCommerce & WordPress Plugins Forums Min Max Default Quantity for WooCommerce Product quantity not increasing correctly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #104806
    Matthew Dobson
    Participant

    Hi there, please help. I initially set the quantity step for all products to 0.2. And the product quantities were increasing correctly. Then I individually changed the min and quantity step for a few of the variable products to min=2 and quantity step=1. But now with the simple products that have to increase by increments of 0.2, the increase is as follows:
    1, 1.2, 1.4, 1.5999999, 1.7999999, 1.999999, 2.19999, 2.4, 2.60000 etc.
    The decimal values get all messed up.

    #104807
    WPWhale
    Moderator

    Hi Matthew,

    Honestly, I doubt what you changed (on variations) caused this issue on simple, it might be a bug with a recent version of WooCommerce, or maybe a theme update.

    Would you mind sharing access (with links to example products) I we can check? Please reach me at [email protected].

    Omar

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.