Jump to content

Cambiar logotipo según el idioma seleccionado en Prestashop 8.0.5


Recommended Posts

Hola, me gustaría saber si para la versión de Prestashop 8.0.5 hay alguna forma de cambiar (mediante código y no con módulo de pago) el logotipo de la web según el idioma seleccionado. Espero vuestra ayuda.

Muchas gracias.

Link to comment
Share on other sites

  • 1 month later...

Hello,

 

You can edit the file /ROOT/themes/Your-Theme-Name/templates/_partials/header.tpl


Like put a condition on the basis of language, you will need to put the logos in "/ROOT/img" folder

 

{if $language.iso_code == 'en'}
<img src="{$urls.img_ps_url}logo-en.png" alt="Logo" />
{else if $language.iso_code == 'fr'}
<img src="{$urls.img_ps_url}logo-fr.png" alt="Logo" />
{/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...