The Switch to Customer feature lets an administrator securely log in as a specific customer to see the store exactly as that customer would โ useful for troubleshooting My Account issues, checking subscription status, or reproducing a problem.
๐ How It Works
- Use the Switch to Customer action for the customer you want to view as.
- You are redirected to the storefront, logged in as that customer.
- A notice in the admin bar shows whose account you’re viewing.
- Click Switch Back in the admin bar to return to your own administrator account.
๐ Security Safeguards
| Safeguard | Details |
|---|---|
| Admin only | Requires the Manage Options capability to switch. |
| Nonce protected | Each switch is verified with a security nonce. |
| No admin targets | You cannot switch into another administrator account. |
| Encrypted return | Your original admin identity is stored in an encrypted, HTTP-only cookie and restored on Switch Back. |
Logging out while in customer-view mode automatically restores your administrator session and returns you to the Customer Info dashboard.