If there qty of the item was 1 and the item was ordered, then the item is disabled as it has quantity 0. However if the order is deleted from admin with "restock product quantity" option, the quantity is restored back to 1 but the product stays disabled and does not show up in catalog.



