Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Posts
    33
    Plugin Contributions
    0

    Default How to display customer userid on top of pages?

    I want to show the customer's userid after he has logged in on the top of all pages. Is there some code I can add on the header to show this?

    Something like a 'Welcome [email protected]' where the email is the customer's userid.

    Thanks!

  2. #2
    Join Date
    Nov 2006
    Location
    Caracas
    Posts
    114
    Plugin Contributions
    0

    Default Re: How to display customer userid on top of pages?

    I dont know about the email but if you check out this

    if (isset($_SESSION['customer_id'])
    {

    echo $_SESSION['customer_first_name'];
    }

    this check if somebody is login then show the first name

 

 

Similar Threads

  1. How to make Specials Category display at top of list?
    By nathanscrivener in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 31 Oct 2010, 06:52 AM
  2. How to display sub categories on top category area?
    By trickobrien in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 12 Aug 2010, 11:25 PM
  3. How to display all top categories on one ez page
    By trickobrien in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Aug 2010, 04:22 PM
  4. Replies: 2
    Last Post: 22 Feb 2010, 10:35 PM
  5. Display text or image “IN STOCK” on product pages up the top?
    By apemusic in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Jul 2007, 03:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg