Should it be possible to create a backend order of a disabled product? We cannot get this working.
Hi, very low level user here. In Magento 1 our business could create orders in the backend which included disabled products. We have since upgraded to Magento 2.3.2-p2 and we have found we are now unable to create orders with disabled products, yet I have found a couple of threads here which seem to suggest it should be possible.
Is there an obvious configuration setting we are missing that enables this? I'm not even sure where to look for this I'm afraid.
We get the usual warning messages that a product is disabled when adding it to an order, but when filling out the order form it won't let us choose shipping method, and forcing a shipping amount then removes the payment options.
Any help or hints would be greatly appreciated. Thanks!
Solved! Go to Solution.
I have gone through with default latest Magento version and that too I am getting same behavior. Payment and shipping not showing any data for disabled product and its showing error that product is out of stock. In my opinion Magento has changed this in Magento 2 as they introduces MSI as well.
Logically it should not be possible as if any product is disabled then obvious how we can create any kind of order but yes if this is out of stock then this is possible to create back order. I have tried with disabled all cases and this is not allowed in Magento 2 latest version.
You can not create backorder for disabled products. As per document you can see that you can configure for product out of stock or 0 qty only.
Store>configuration>Catalog>inventory>product stock option> enable back order for qty=0.
https://docs.magento.com/user-guide/catalog/inventory-backorders.html
Thanks for the reply Manish. I don't think backorders are an issue. This happens even with products that are in stock but disabled.
To expand a bit, when I create an order and add a disabled (in stock) product to the order, clicking the "Update Items and Quantities" button refreshes the products on the order, but if I have disabled products on the order, they disappear.
I think this is essentially what's happening when I go to add shipping costs and payment method, those steps aren't working because the disabled product is bugged.
Before I go any further could you just clarify if a disabled product should be able to be ordered (as it was in Magento 1), or has this changed in Magento 2? I can't seem to find any documentation that suggests either..
Thanks again.
I have gone through with default latest Magento version and that too I am getting same behavior. Payment and shipping not showing any data for disabled product and its showing error that product is out of stock. In my opinion Magento has changed this in Magento 2 as they introduces MSI as well.
Logically it should not be possible as if any product is disabled then obvious how we can create any kind of order but yes if this is out of stock then this is possible to create back order. I have tried with disabled all cases and this is not allowed in Magento 2 latest version.
Oh well, that's annoying that it can't be done anymore.
Thanks for your help. Really appreciate it.
create an order with disabled product is not allowed by Magento which is technically correct, if you still want to place order you can place back-order please refer below link:
Backorder - https://docs.magento.com/user-guide/catalog/inventory-backorders.html
Hope this helps you!
Problem Solved! Click Kudos & Accept as Solution!