• Resolved woolsome

    (@woolsome)


    Hi. From several weeks the mentioned in a title issue arised.
    It happened after one of last woocommerce updates.

    Products with decimal stock under 1 are automatically turned into ‘out of stock’ status.

    Do you have a solution for this issue ?

Viewing 1 replies (of 1 total)
  • Hi @woolsome

    Thanks for reaching out!

    I understand that you’re encountering an issue with products having decimal stock under 1 being marked as out of stock after a recent WooCommerce update.

    This issue might be due to the way WooCommerce handles stock quantities. WooCommerce considers stock quantities as integers by default, which means any number less than 1 is rounded down to 0, hence the out of stock status.

    As you’ve mentioned using decimal quantities was working on your site before the WooCommerce update, can you please share with us how you are doing this as this is not part of the core functions of WooCommerce?

    If this were added through a third-party plugin or a custom code, it would be best to reach out to the developers as they are better equipped to assist with their products.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Decimal Stock Under 1, Showing as Out of Stock’ is closed to new replies.