Hello,
I just bought business version and found a lot of interesting features in this version. What i can't find is how and where to get the user id or name of user who modified the status of an order. In my case, i'm just the administrator of website but orders are processed by other peoples (editors). Would be great to see this info (editors names) in orders history area instead of (or near) IP column for example.
Here is what i tried so far: in administrator/com_hikashop/plg_hikashop_history/history.php i added in
function onAfterOrderUpdate(&$order,&$send_email){
$user =& JFactory::getUser();
if ($user->get('id') > 0) {
$utilizator = $user->get('id');
}
$history->history_user = $utilizator;
i created a field history_user in table but i dont' get the value in..
Thank you