• Priority: Medium
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 06.08.22, 15:48
  • Opened by: assem Elskfy

Ticket #23645 - logo in mobile for different language

There is any option to add different logo for Arabic language in mobile than English language

I changed it for desktop but can’t change it for mobile

link of the website

https://store.cinnabon-egypt.com/

Comments

Fred 07 Aug 2022, 10:17

Hi, assem Elskfy.
There is no such option in Prestashop.
But you can do that with a small customization
Open the file

/themes/alysum/templates/_partials/logo.tpl

find the line

<img class="logo db" src="{$shop.logo}"...

replace it with

<img class="logo db" src="{$language.iso_code == 'ar'}PATH TO ARABIC LOGO{else}{$shop.logo}{/if}"...

replace "PATH TO ARABIC LOGO" with an URL to your image

assem Elskfy 07 Aug 2022, 11:40

very thanks , it is working

Fred 07 Aug 2022, 12:08

You are welcome!