Jump to content

Customer Information {$smarty.post...


Recommended Posts

Hello! I want to ask you about advice with customer information that is used at identity.tpl in the format:

{$smarty.post.firstnanme}

{$smarty.post.lastname}

etc

 

I need to use it at my-account.tpl, but they dont work there. Maybe I should fix controller or class as well?

 

I need to use exactly {$smarty.post. ....}, because simple $cookies is not allowing me to get all info I need. Looking forward to hear from you. Really need your advice!

Link to comment
Share on other sites

these variables are used once someone "POST" form with account details (firstname, lastname etc.)

so, simply saying, variables with $smarty.post in name are available when someone post the form, and these variables are available only on page where they are posted (<form> action param)
 

{$smarty.post.firstnanme}
Link to comment
Share on other sites

Thank you for answers! I would better explain what I like to achieve, maybe solution is near ) 

 

1. In the customer info we have NOTE

2. It is stored in in the DB (table ps_customer, column note)

3. We need to show this "note" in the my-account.tpl

 

Thank you a lot for your advices! 

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...