Jump to content

Afficher la civilité Mr ou Mme dans le blockuserinfo


Recommended Posts

Slt à tous,

j'aurais besoin d'afficher la civilité dans le blockuserinfo mais je ne trouve pas la variable

à utiliser. j'ai trouver un id_gender mais cela ne fonctionne pas.

 

Qql'un a une idée ???

 

Cordialement

Link to comment
Share on other sites

Salut

Inscrit toi en tant que client regarde dans la table ps_customer, tu vois a quoi correspond id_gender MR ou MME tu assignes ça dans ton controller est en smarty tu fais :

 


{if $genre==1}MR{/if}
{if $genre==2}Mme{/if}

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