VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: alexanderflr on January 08, 2018, 13:22:26 PM

Title: How to see who deleted a category
Post by: alexanderflr on January 08, 2018, 13:22:26 PM
Hi,

I would like to know if it's possible to see who deleted a product category, like some logs or something. I have multiple admins and one of them deleted a category.
Virtuemart 3.2.8, Joomla 3.8.3, PHP 7.0.26

Thank you,
Title: Re: How to see who deleted a category
Post by: Studio 42 on January 08, 2018, 15:06:13 PM
It's not possible, Vm do not have delete history excluding for the order status changes.
Only a system plugin or on hacking the core you can add a log file.
But best of course is to write a system plugin, so you don't loose the changes.
Of course you can log more as category delete, depending your needs.
Title: Re: How to see who deleted a category
Post by: alexanderflr on January 09, 2018, 10:36:56 AM
Hi,
Thank you very much. Good to know, I'm thinking to do this in the future... I was more interested to see who deleted a category that is missing. Because I have a discount rule of 30% that was pointed to "Blank Category" and when someone deleted this category, the discount of 30% applied to the next orders placed on the website...
Title: Re: How to see who deleted a category
Post by: Studio 42 on January 09, 2018, 16:04:47 PM
I think that this can be a nice feature, including other actions, because when you have a problem, it's hard to find the user destroying your shop.