Stock status not correct on variable products

Solved11 replies3 participantsUpdated by luc

  • Avatar: luc
    luc
    Participant

    Hi,

    The stock status on the frontend is not changing on variable products. Some are in stock and some in backorder. The problem is that the status always shows on stock, even if I select the variation that is on backorder.

    In stock status is: Verzonden binnen 2-3 werkdagen
    In backorder status is: Levertijd 1-3 weken

    Example product which is not correct: https://www.celticshop.nl/product/super-soft-hat-scarf/

    How can I fix this?

    Please, contact administrator
    for this information.

    11 Answers

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, luc,

    Could you please provide temporaryFTP access? We will check what can be done to help you.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: luc
    luc
    Participant

    Sure, see the private content area.

    Please contact administrator
    for this information.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, luc,

    Thank you for providing access. We are currently working on resolving your issue. As soon as a solution is found, we will inform you immediately.

    Best regards,
    The 8Theme Team

    Avatar: luc
    luc
    Participant

    Hi Andrew, I hope you’re doing well. Could you please provide me with an update at your earliest convenience?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, luc,

    We have made changes to the functions.php file of your child theme, which should resolve the issue you were experiencing. Please note that in order for the product variation to appear as backordered, a specific value must be set. You can find more details in the attached files.

    Best regards,
    The 8Theme Team

    Files is visible for topic creator and
    support staff only.
    Avatar: luc
    luc
    Participant

    So I have to enable stock? But we don’t use stock.
    We just want to use In Stock, Out of Stock, and On Backorder.
    When I set a product to Out of Stock, the buy button is disabled, but the notification still says it is in stock.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff

    Hello, luc,

    If you set the stock quantity to 0 but enable the “Allow backorders” option for a variation, the purchase button will remain available. However, if the stock is 0 and backorders are not allowed, the product will not be available for purchase.

    Unfortunately, at the moment, this is the only way to have different variations with different stock statuses.

    Best Regards,
    8Theme’s Team

    Avatar: luc
    luc
    Participant

    It is strange that the regular stock status widget from Elementor works, but that one is not displaying the on stock status…
    There must be something wrong, I think.
    Video: https://streamable.com/q67jcr

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Dear @luc,

    We hope this message finds you well.

    Could you kindly check whether the issue has been resolved by reviewing the following link: https://gyazo.com/025bdc8b7d7026ee34874c5e03117c0c? We truly appreciate your time and effort in testing this.

    If you continue to experience any issues, we would be grateful if you could provide us with screenshots. This will help us better understand the situation and assist you more effectively.

    Thank you once again for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: luc
    luc
    Participant

    Thanks jack, I think this is the best solution.

    Avatar: luc
    luc
    Participant

    Thanks for the support! My topic “Stock status not correct on variable products” has been successfully resolved.

The issue related to '‘Stock status not correct on variable products’' has been successfully resolved, and the topic is now closed for further responses