Home Forums WoodMart support forum Stock Status not showing if no variable is selected

Stock Status not showing if no variable is selected

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

    lemali.ch
    Participant

    The stock status indicator is currently not showing unless a specific product variation is selected.

    Is there a way to always display the stock status by default — for example:

    -Show a green “In Stock” status if at least one variation is available, and

    -Show a red “Out of Stock” status if all variations are unavailable?

    This information should be visible to customers right away, without requiring them to select a variation first, to improve the overall user experience.

    Thanks in advance for your help!

    Attachments:
    You must be logged in to view attached files.
    #690730

    Hung Pham
    Participant

    Hi travel-gadgets.ch,

    Thanks for reaching to us and appreciate your patience.

    I answered your question in other topic, please double check https://xtemos.com/forums/topic/stock-status-not-showing/#post-690729

    Best Regards,
    Hung PD

    #691080

    lemali.ch
    Participant

    Dear Hung PD

    Could you assign this topics to another agent? We believe you don’t understand our questions.

    Best

    Matt

    #691390

    Bogdan Donovan
    Keymaster

    Hi,

    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.

    Kind Regards

    #691654

    lemali.ch
    Participant

    Got it, thanks.

    #691738

    Bogdan Donovan
    Keymaster

    You are welcome!

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