brettbrewer.com

Programming + Design

Home
Admin operating as a user in X-Cart PDF Print E-mail
Written by Brett Brewer   
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.  

 
< Prev   Next >

Search

Who's Online

We have 7 guests online

© 2017 www.brettbrewer.com
Joomla! is Free Software released under the GNU/GPL License.