Just tried "Commerce bulk product creation" which was to efficient to create a lot of nonsense, then deleting the nonsense erased a bit too much.

Is there a way to undelete a product? IMHO this is the whole point of versioning everything…

Thanks!

Comments

rszrama’s picture

Status: Active » Closed (won't fix)

There is no way; revisions in Drupal are deleted right along with the primary entity. There are modules I've seen that purport to retain "deleted" content, but I don't know if they cover every entity type or just nodes.

asb’s picture

Version: 7.x-1.9 » 7.x-1.x-dev
Category: Support request » Feature request
Status: Closed (won't fix) » Active

Geez, a shop system where some imbecile (like me ;) might accidentally delete products has a serious usability issue. Consider a multi-user use case with not fully trained coworkers, there should be safeguards like MediaWikis delete log.

If complete nodes might disappear, the excessive versioning of the remaining stuff does not make so much sense. Changing to feature request and kindly asking for your consideration.

Thanks!

rszrama’s picture

Status: Active » Closed (won't fix)

Unfortunately it's just out of scope for what Commerce intends to do inside of Drupal. We aren't trying to add features on top of core APIs, like the entity system, just extend them to support eCommerce. I don't know what "undelete" options exist for Drupal 7, but you might search for something similar to https://www.drupal.org/project/trash - and keep regular database backups. : )