Recovering deleted categories

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 11 años
Hi

i have deleted by mistake a category(id=01), but it seems the second one that i create right after that is id=02,
Is there a way of restore the one that i have deleted (id=01)

thank you
Hace 11 años
Categories are not deleted in the database so all you need to do is set the deleted field to false.

The following SQL code will do it for you

UPDATE Category SET Deleted = 0 WHERE id = 1


or you can use Microsoft SQL Server Management Studio or similar tool.
Hace 11 años
Yes, you can use a SQL tool like SSMS.

Update Category set Deleted = 0 where Id = 1

This will also restore any mapped products.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.