I removed some stores and now when I see the dropdown "Purchased from (store)" in Sales -> Orders ->Grid I found the deleted option. I remove every relationship between the stores deleted and orders but the deleted option still shown.

Someone knows how to remove this option?

1 Answer 1


You can remove that deleted filter option by rewriting Mage_Adminhtml_Block_Sales_Order_Grid::_prepareColumns

If you look at the addColumn used for the store_id, you'll see that the display_deleted parameter is set to true. Just set it to false.

I don't know what it's used for though, since Magento won't let you deleted orders, right?

Hope this helps.

  • The question was about orders from deleted stores, not deleted orders. But it looks like you found the right parameter Jul 10, 2015 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.