Jump to content

Smarty variable for user phone_mobile


Vosteen

Recommended Posts

Hello,

 

I'm going to misuse the mobile phone-field to fill it with our own customer ID (It's a long story short...).

 

So I also want to show a customer it's ID on a prominent spot in our template.

Therefore I need the right smarty variable, I guess.

 

For the regular/native ID it's quite easy:

$cookie->id_customer

 

But what do I have to use to display the "phone_mobile"?

 

 

EDIT: It once was about using the "website field". But now it hast to be the mobile phone number.

Edited by Vosteen (see edit history)
Link to comment
Share on other sites

Hello again,

thanks for your help.
Unfortunately I guess I was a little to quick in marking it as solved  :D

I found out that I won't be able to add the "website" field to our order-csv-export. But I could add the mobile phone number, which we actually don't need in our shop, as well.

So could you also tell me how to add this field as a smarty variable?
I was thinking about {Context::getContext()->address->phone_mobile} but this doesn't work...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...