Call-back icon  Enterprise Sales: +1.310.775.2674 (N. America)   +44 20.3286.4137 (UK)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Prevent deletion of products which exist in open orders
 
rmadridca
Jr. Member
 
Total Posts:  18
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
 
© Copyright 2009 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
108783 users|297 users currently online|199900 forum posts