Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Prevent deletion of products which exist in open orders
 
rmadridca
Jr. Member
 
Total Posts:  19
Joined:  2008-07-23
 

I hope someone has addressed this issue already. I’m looking to somehow check when a product is about to be deleted if it exists in any orders which are in a processed or new status and if so prevent the user from removing the product. The reason is because a merchant may delete a product from the system and have no way of knowing whether that product exists in some processed or new order. The issue that follows is that currently if they try to reorder the item from that order you get a nice ugly error message that the item cannot be found. Has anyone dealt with this or does someone know where to begin to address this?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top