Login As Customer
Overview
This extension adds the ability for admins to log in as a customer to a storefront. After installation, a "Login As Customer" button with be displayed on the customer edit page which will allow the admin to log in to a store as the registered customer.
With this feature, an administrator can assist customers in placing an order or do other actions as a registered customer. For example, placing orders as the customer, adding something to the customer's wishlist, or changing the customer's address.
Features
- You can log in as any customer from the admin panel
- You can define which admin will have the ability to log in as a customer
- Admin panel has a log of admin log actions in case you have issues
- Ability to view which admin user used this feature
- Ability to place an order on a customer behalf from storefront
Magento Compatibility | 2.3.x, 2.4.x |
---|---|
License | GNU General Public License v3.0 (GPL-3.0) |
Composer Package | thesgroup/module-logincustomer |
Automatically Add The Repository
Through an SSH connection, all you have to do is run the following command from your Magento installation directory
composer config repositories.www.sashas.org composer https://www.sashas.org
Manually Add The Repository
The typical Magento 2 installation has repositories section of composer.json like this:
{
"repositories": [
{
"type": "composer",
"url": "https://repo.magento.com/"
}
]
}
You will need to add a repository by appending an object to the repositories object
{
"repositories": {
"0": {
"type": "composer",
"url": "https://repo.magento.com/"
},
"www.sashas.org": {
"type": "composer",
"url": "https://www.sashas.org"
}
},
}
How To Install The Module
Once the repository is added to the composer.json file, you can now install the packages that are available through it.
For example, let’s say you want to install the thesgroup/module-logincustomer module through composer. Run the command below to install it:
composer require thesgroup/module-logincustomer