Sometimes the administrator of an X-Cart-based online store may require to access the store as another user. You may need this to perform operations on behalf of a user (for example, to place an order, etc.), check the storefront functioning, or investigate a problem.

Logging in to the store as a different user is possible using the "Operate as this user / Log in as this admin" feature (which we more often refer to as the "Operate as a user" feature). This feature works differently depending on whether you need to access the store as a registered customer or as another administrator if you have more than one admin account in the store. Below we are providing detailed information on each of the two cases:

Accessing Store as a Customer ("Operate as This Customer")

To access the store as one of the registered customers, you need to be an administrator user with root access (equals the role "Administrator") or an administrator with any custom role, including the "Manage users" permission.

To use the feature:

  1. Locate the customer profile you require in the user list and open the profile details for viewing by clicking on the customer email address.

  2. From the Profile actions drop-down, choose the "Operate as this customer" action:


    As a result, the storefront homepage will open in a new browser tab. There you will see the "You are operating as customer_email_address" message at the top of the screen. You will also see an overlay with the words "You are operating as customer, customer_email_address" and the Quit button:

  3. Work in the browser tab where the storefront has been opened as if you were this customer.


    Since the "Operate as this customer" mode is typically used by X-Cart store administrators to create orders on behalf of customers, the administrator must have an offline payment method for creating orders when operating as customer users. For this reason, we made the "Phone Ordering" payment method available in the storefront to administrators working in the "Operate as this customer" mode - even if this method was disabled in the Admin area. That is a default store behavior of the "Operate as this customer" mode. The payment option is visible only to the administrator working as a customer; customers working under their accounts will not see or use this method.


  4. To quit using the "Operate as this customer" mode, click the Quit button in the overlay.


    Alternatively, switch back to the tab with your Admin area and do any action requiring the page to be reloaded (for example, go to a different page within the Admin area). You will see a notification that you have finished operating as the customer:


Accessing Store as Another Administrator ("Log in as This Admin")

To access the store as one of the administrators, you need to be an administrator user with root access (equals the role "Administrator") or an Administrator user with any custom role, including the Manage users and Manage administrators permissions.


It is not possible to use this feature to access administrators' accounts with Root access (the role "Administrator").


To use the feature:

  1. Locate the customer profile you require in the user list and open the profile details for viewing by clicking on the customer email address.

  2. From the Profile actions drop-down box, choose the action Log in as this admin:

  3. The Admin area - as accessible to the selected admin user - will open in a new browser tab. Your current user session will be terminated, and you will be logged in to the store as the user you selected.

  4. To quit operating as this user, sign out.

Related pages:

Did this answer your question?