Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"logged In As" (user Id)


smartin591

Recommended Posts

hey! how do I add an "Logged in as" (user ID) to my header once the user logs in there user ID name name appears in the header??? thanks

 

In your store/includes/header.php file, around line 55 there will be the code that inserts your header image. From there you can either add another row by doing your

<tr>
<td>Logged in as <?php echo $customer_first_name;?></td>
</tr>

And that will add in what you want. You can use your stylesheet to use an existing class to format it how you want, or you can try and find a way to include it into your picture. Either way, it's up to you

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...