Magento – Limit product backorder qty

backorderinventory

Is there a way to limit the backorder qty? ie: I want to allow a product to get back-ordered, but only by a few

Best Answer

Not that I know.

hacky way

The easy way is to raise all your qty by X where X is the number of backorders you want to allow.

better way

But you could deactivate the observer which checks it:

\Mage_CatalogInventory_Model_Observer::checkQuoteItemQty()

and implement your own with your qty. The problem is, the actual check is made here:

\Mage_CatalogInventory_Model_Stock_Item::checkQty()

so the alternative is, to rewrite the catalog_inventory/stock_item model.

Related Topic