Viewing 3 replies - 1 through 3 (of 3 total)
  • Nico

    (@nicolamustone)

    Automattic Happiness Engineer

    Hello there,

    Does this variable product have more than 20 variations?
    Also, are you able to add the out of stock variation to the cart and purchase it?

    WooCommerce will show all possible variations if the product has more than 20 of them and only check for their stock when selecting them. This is to prevent performance issues.

    If the product cannot be purchased, the above is most likely what is happening. If you re able to actually purchase it, let us know and we will check further!

    Thread Starter capeit

    (@capeit)

    The product mentioned above has 10 variations.

    What i discovered though, is that products with 0 stock, as per migration process, are allowed by WordPress to be ordered.

    If in the quantity of stock, i manually take it to 1 unit, save the product and then take it back to 0 and save the product, then it is not visible and therefore cannot be ordered.

    Furthermore, i update daily the stock levels through WP All Import plugin, by a csv file import. In my csv file the quantity imported is also set to 0 units for the above variations and the stock quantity is not updated as a “new” 0 quantity (like the process mentioned in the above paragraph), so people can still order products that are out of stock.

    Maybe there is a way to re-index the stock levels, so WordPress can “read” them correctly?

    Thread Starter capeit

    (@capeit)

    I forgot to tell you that the product mentioned in the above example was corrected using the method of manually changing the stock.

    An example with a product that has a variation that is out of stock is https://philippidescy.com/product/ball-point-pen-g2-0-5-blue/ where the Black has 0 stock.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Out of stock allows orders’ is closed to new replies.