Jump to content

Undo deleted products?


bobismyuncle73

Recommended Posts

Is there a way to undo a deleted item? 

By accident, I deleted a product that had some sales attached to it. I still have the records for the sales, but I've lost the product and I don't see any obvious way to undo this.  Is there a way?  This is the second time I've accidentally deleted something in the past few months.  I can rebuild it with a little bit of time, but it'd be far easier if there was a one-click undo button.

 

Link to comment
Share on other sites

No.

Deleting a database record is not un-doable. You will need to research from database backups to restore the record.

Or, some of the data is stored in various locations in the CubeCart_order_summary and CubeCart_order_inventory tables,

Link to comment
Share on other sites

For future reference, if your host allows a large number of databases in your plan - I keep a rolling set of dated copies of the database right there in phpMyAdmin, for just such problems as this. Being able to easily find old data has saved me more than once.

Link to comment
Share on other sites

This would be a good feature. Deleting an item sends it to "trash". Trash would be accessible via the backend and items could be restored. Similar to WordPress.

A new database table would be needed. On delete, instead of deleting that entry (product), it would move it to the trash table.

Edited by [email protected]
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...