Thanks for your reply. I appreciate that all items are purchasable, however we use the different types of backorder to differentiate the availability message that is displayed to the user on the product page.
If backorders are set to ‘allow’ then we show the item as being available immediately.
If backorders are set to ‘notify’ then we show them as being available within a certain timeframe (usuallly 10-14 days)
The previous version of the plugin (8.1.1) returned the correct backorder status for woosb products when using the $_product->get_backorders(); command (generally this was always ‘notify’). Now in 8.1.2 – whenever a woosb product is queried for it’s backorder status it is returning it as ‘allow’ rather than ‘notify’ regardless of the backorder status of the items that make up the bundle product. This is an issue for us and I believe it to be a bug.
I can setup a simple bundle product with just 2 items in the bundle, both not having any stock but with backorders being set to ‘allow but notify’. When I save the bundle product then the backorder status is being saved as ‘allow’ rather than ‘notify’. It is impossible to override this, it is always saved as allow. I can provide temporary login details to our dev site if you wish to see this issue.
I notice some additional code has been added to the include/class-product.php file in V8.1.2 and I can only assume that this may be causing the issue.
In the meantime I will stick with version 8.1.1 until this issue is acknowledged and fixed.