Prestashop: Logo, favicon and stores icon are not displayed in the 1.7.7.0-RC.1

Created on 18 Nov 2020  路  6Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

Since the latest changes on 1.7.7.x, themes are broken after an upgrade.

For example in the classic theme we now have:

  <link rel="icon" type="image/vnd.microsoft.icon" href="{$urls.img_ps_url}{$shop.favicon}?{$shop.favicon_update_time}">

When it should be

  <link rel="icon" type="image/vnd.microsoft.icon" href="{$shop.favicon}?{$shop.favicon_update_time}">

Expected behavior

We should be able to reach logo, stores_icon, favicon without having to put the _PS_IMG_ constant before.

Steps to Reproduce

Steps to reproduce the behavior:

Use a theme that is not the classic theme
For example: https://github.com/prestarocket-agence/classic-rocket

Additional information

  • PrestaShop version: 1.7.7.x
  • PHP version: N/A
1.7.7.x Bug FO Fixed Modules & Themes Must-have PR available Regression Theme & logo

Most helpful comment

All credits to @micka-fdz for this issue

All 6 comments

@PierreRambaud you don't have to use an other theme juste skip update theme during install it's easier for test :)

Hi @PierreRambaud, @okom3pom,

I manage to reproduce the issue with the 177x branch
image

Ok with PS1768
image

Thanks!

All credits to @micka-fdz for this issue

Thanks @okom3pom for credits and @PierreRambaud for your issue and PR. You rocks!

Hi,

I still have this problem with 1.7.7.0 is this because of my theme or because of the new prestashop?

Hi,

I think it's you theme or an override.

U can compare your files with this PR https://github.com/PrestaShop/PrestaShop/pull/21981/files

Was this page helpful?
0 / 5 - 0 ratings