Forums / General Questions / Customer account info with ID

Customer account info with ID

Started by ellivir on 25 Apr 2012, 7:45 AM · Views: 754

Results 1 to 2 of 2
25 Apr 2012, 7:45 AM
#1
ellivir avatar

ellivir

Zen Follower

Join Date:
Sep 2005
Posts:
444
Plugin Contributions:
0

Customer account info with ID

Hi,

I need to show to the customers what is the account number, so it is the customer_id and was trying to put it in the addressbook page like this:

<?php echo $customers->fields['customers_id']; ?>

but it is not "printing" the customer ID number there, no error either. How should I get it visible there? The customers need to reference their customer ID that we can easily find them in our other local system in case there is customer feedback situation.

So, the idea is that the customer sees his or her ID when logged in and accessing the account info in address book.

I may be blond but at least I found Zen.

25 Apr 2012, 11:04 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Customer account info with ID

<?php
echo 'Your Customer ID# is<br /> ' . $_SESSION['customer_id'];
?>