Display custom Customer Number for customer

Anyone know if it is possible to get in so that you can enter a customer number for each customer that the customer sees when they are logged in?

tim

Why not just output their ID?

echo customer::$data['id'];

because I have a customer number series I want to use.  I want to be able to write them so the customer sees them when the customer logs in to their customer account

tim

Use the field 'code' for custom references.

can i write customer numbers in code field?

That not working

tim

What do you mean? You just output customer::$data['code']

want so the customer can see this on their account

tim

What did you try?

I have entered customer in the code box but the customer does not see the numbers you write in that box.  I want the customer to see them when the customer logs in to their customer account

tim

So you didn't try <?php echo customer::$data['code']; ?> in the view file? How did you think the information was going to be output if you don't add the code?

where should I put it in the file?

ok so I can paste it anywhere in that file?

This not work i have insert that code and this Numbers not see in THE account

I guess enough is enough.

I was looking for something similar. All good. Thanks Tim.

Hello

i have fix this now but How do I enter a space between the customer number and the company information

tim

Show your code.

Maybe do it like this:

  <label><?php echo language::translate('title_customer_number', 'Customer Number'); ?></label>
  <div class="form-input" readonly><?php echo customer::$data['id']; ?></div>
</div>
This thread has been closed due to long inactivity. Posting to it is not possible.
View code on GitHub