Programming + Design

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....


or if you're trying to be all nice and XHTML compliant you'd use:


Not an earthshattering bit of info, but useful to know nontheless.  

< Prev   Next >


Who's Online

We have 1 guest online

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