|
Admin operating as a user in X-Cart |
|
|
|
|
Written by Administrator
|
|
Wednesday, 28 May 2008 |
|
Sometimes in X-Cart you may want to view something as a specific customer would view it. To temporarily access customer pages as a particular user you need only to be logged in as the admin and then pass the variable $HTTP_GET_VARS['operate_as_user'] to the customer page you are trying to view. So you would just add something like this to the querystring of your requested URL.... &operate_as_user=username_to_operate_as
or if you're trying to be all nice and XHTML compliant you'd use: &operate_as_user=username_to_operate_as
Not an earthshattering bit of info, but useful to know nontheless.
|