Jump to content

How to show customer name on prestashop front office index page?


JoelWebsites

Recommended Posts

Hi Joel,

 

little confused about the question, as this is already implemented:

 

post-455771-0-83408000-1416641605_thumb.png

 

If you want to change the message, go to translations, installed module translations, go to blockuserinfo block and translate "welcome" into "Welcome to our shop"

 

post-455771-0-79435100-1416641756_thumb.png

 

 

Is this what you had in mind??

 

pascal

  • Like 1
Link to comment
Share on other sites

I wanted to display a message like

 

 Hi customername get 50% off on your first purchase using a coupon code XCSAD 

 

I have used the below code in the .tpl file in the theme folder to display the name.it worked

 

<h1> Hi {$customerName} get 50% off on the first sale </h1>

 

prestashop 1.6.08

Edited by joeljfernandes (see edit history)
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...