Thank you for this handy Mod.

I am using Admin Login As Customer v3.0 in ZC 1.5.0

I found that the distribution I downloaded appeared to be improperly packaged.

1.) The file "tpl_login_as_customer_default.php" is not included in the "02_admin_login_as_customer_v3.0_with_master_password" file set. If that file is included in this set it makes the installation easier. I had to go back into the other installation's directory and find it when I was troubleshooting the installation.

Also on my installation the customers address state does not display correctly in the new window. All the other customer info does display.

I noticed in file "tpl_login_as_customer_default.php"

$c_state = $_POST['cstate'];

Is that correct?