Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3771877
Stock problem with variable product
Open

Comments

  • Carlo started the conversation

    Hi devs,

    First of all, thank you for this amazing plugin—I purchased it today!
    I’m encountering an issue with the stock calculation when adding a variable product to a bundle product.
    For the product named “GRABO Ventosa di sollevamento portatile a batteria”, I currently have 12 GRABO and 10 GRABO PRO in stock, but the available stock is displayed as 17.
    I noticed that the variable product isn’t being considered correctly in the stock calculation.
    The number 17 reflects the minimum stock level, which in this case corresponds to the stock of the “Batteria di ricambio per ventosa di sollevamento elettrica Grabo”.
    Is it possible to display the bundle quantity based on the selected variation?

    The page I need help with: https://amastone.it/negozio/kit-ventosa-grabo-con-batteria-e-guarnizioni/

  •  1,281
    Dustin replied

    Hi Carlo,

    I'm so sorry for the late reply!

    We don't check every product variation to calculate the correct available stock for the bundle. It can slow down or even break your site with too many variables/variations in a bundle.

    You can hide the bundle's stock to prevent confusion. Please add the CSS code below to WP-Admin → Appearance → Customize → Additional CSS:

    .summary .woosb-wrap + p.stock {
        display: none !important;
    }

    And the result:

    1576826483.png

    Best regards,
    Dustin