1

If someone selects and order by checking the box and then using one of the action items in the dropdown. I would like to add the user and timestamp and the action item they selected to the comments section of that order. Primarily just for auditing purposes.

Order Selection

items action selection

leave comment

Is there a module out there that does this already or no? If anyone could point me in the direction to start which event do i need to hook into with my observer that would be great. Need a bit of help getting this started.

1 Answer 1

0

As far as i can see, you have to possibilities.

  1. There are a lot of admin logger extensions. Some of them are even free to use. Check google for something like "magento 2 admin logger". You should easily find one, which can at least log the actions. But i don't know if you can filter them like you want to do.

  2. Build this yourself. Afaik there is already an order action log (or at least there should be a comment when you ship an order) existing, and you could hang yourself in at this point.

1
  • Thanks, I'll look into both ideas. I was thinking about trying to hook into the existing comment section just never done this before.
    – Head
    Commented Aug 14, 2022 at 19:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.