Home Forums WoodMart support forum Product settings not in effect when out of stock

Product settings not in effect when out of stock

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #701097

    2303805254
    Participant

    Setting the product to “out of stock” in the backend did not take effect when accessing the frontend.

    • This topic was modified 1 day, 4 hours ago by 2303805254.
    Attachments:
    You must be logged in to view attached files.
    #701124

    Hello,

    In WooCommerce, each product variation within a variable product can have its own stock quantity. Therefore, the stock status check of each variation happens the moment a variation is selected. This check is not related to the specific quantity of the product, and whether the value is “In stock” or a concrete number, the stock status will only be retrieved after a variation is selected. This is the standard behavior of the WooCommerce plugin, and you can see how it works by default by viewing the standard WooCommerce theme called Storefront (https://monosnap.ai/file/Hsn1vFzELLk7vfW5ZoiNrf8Xe7MJqg). Unfortunately, we currently do not have the ability to change this, and we don’t have an option to override this behavior.

    Best Regards,

    #701138

    2303805254
    Participant

    Hello, Aizaz Imtiaz Awan

    I don’t quite understand what you mean. I set the product variant to “out of stock,” but I can still place an order normally when I visit the product page, and there’s no out-of-stock or stock-out message.

    Do you mean that my settings aren’t showing an out-of-stock status on the front end? Do you know how to set an out-of-stock status for a product variant in WordPress? I only found the setting shown in my image; I haven’t found anywhere else to set it.

    #701239

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards,

    #701273

    2303805254
    Participant

    Provided

    #701354

    Hello,

    Your issue has been resolved. Navigate to Layouts > Edit single product layout > edit add to cart widget and enable the stock status widget. Please check back your site and check the issue.

    Best Regards,

Viewing 6 posts - 1 through 6 (of 6 total)