Vote up!
Vote down!

Deleting products that are in completed orders

I am using Commerce for both event registrations and product sales. The setup seems absolutely fine, but when I want to delete old events (product) I get a notice that I cannot because they are items in orders. Is there a workaround for this? Deleting or even disabling (although not our first choice since the products will just add up) is really a necessary process because we can't have old events showing.

Thanks in advance for any help!

Asked by: AW
on February 6, 2013


Are you saying that you can't even disable an old event/product?
Also, might the solution be to remove/disable the product's display?
Cheers, Alan

- AlanQ on February 7, 2013

1 Answer

Vote up!
Vote down!

You can disable these old products just fine. That is in fact the recommendation on the delete confirmation form when the module detects a product has already been added to a cart / order. We don't allow products to be deleted outright because they are still referenced by these old orders even if the products themselves are no longer purchasable.

Ryan Szrama
Answer by: Ryan Szrama
Posted: Jun 20, 2013