Jump to content

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


Recommended Posts

Hi Joel,


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




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"





Is this what you had in mind??



  • Like 1

Share this post

Link to post
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)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More