Frits van Leeuwen Posted July 30 Share Posted July 30 (edited) I try to place the favicon in Prestashop 9.0.0. But it look like it accept it, but it does not use it. Edited August 5 by Frits van Leeuwen (see edit history) Link to comment Share on other sites More sharing options...
yama Posted July 30 Share Posted July 30 Will be fixed in 9.0.1 https://github.com/PrestaShop/PrestaShop/issues/38925 1 1 Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted July 31 Author Share Posted July 31 I didn't do anything, and yet it improved. After it didn't work yesterday, I finally turned my PC off and back on today. Everything seems fine now, except that it doesn't add the favicon to the front-page tab in MS Edge. Link to comment Share on other sites More sharing options...
WebCommercify Posted August 4 Share Posted August 4 Hi, If you have FTP access, please check the /img folder to ensure that your favicon has been successfully uploaded. Let me know if you need help locating or updating it. Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 I have in /img a file named favicon.ico Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 One more question: Where did you install PrestaShop? Is it running in a local environment or on a production server? Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 On a production server. Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 Please, can you share shop url? Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 (edited) https://prestashop9.geschenkenlaantje.nl It's a sub domain of geschenkenlaantje.nl (on PS 1.7.8.11) Edited August 5 by Frits van Leeuwen (see edit history) Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 Can you disable Maintenance Mode for a few minutes then clear cache? Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 (edited) I really appreciate your help. I've opened the store and cleared the cache. But I don't see any differences. Edited August 5 by Frits van Leeuwen (see edit history) Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 I will check it, please you just disable maintenance mode. Let me know when you do it. Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 I've disabled the maintenance mode Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 So strange, still i see website under maintenance. Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 Misunderstanding. English isn't my strongest side. But hopefully the store is open now, and I've cleared the cache again. Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 Please, can you open head.tpl file (root folder/themes/your theme/ templates/_partials/head.tpl) and share codes of this file? Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 [code] {** * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. *} {block name='head_charset'} <meta charset="utf-8"> {/block} {block name='head_ie_compatibility'} <meta http-equiv="x-ua-compatible" content="ie=edge"> {/block} {block name='head_seo'} {block name='head_preload'} {include file='_partials/preload.tpl'} {/block} <title>{block name='head_seo_title'}{$page.meta.title}{/block}</title> {block name='hook_after_title_tag'} {hook h='displayAfterTitleTag'} {/block} <meta name="description" content="{block name='head_seo_description'}{$page.meta.description}{/block}"> {if $page.meta.robots !== 'index'} <meta name="robots" content="{$page.meta.robots}"> {/if} {if $page.canonical} <link rel="canonical" href="{$page.canonical}"> {/if} {block name='head_hreflang'} {foreach from=$urls.alternative_langs item=pageUrl key=code} <link rel="alternate" href="{$pageUrl}" hreflang="{$code}"> {/foreach} {/block} {block name='head_microdata'} {include file='_partials/microdata/head-jsonld.tpl'} {/block} {block name='head_microdata_special'}{/block} {block name='head_pagination_seo'} {include file='_partials/pagination-seo.tpl'} {/block} {block name='head_open_graph'} <meta property="og:title" content="{$page.meta.title}" /> <meta property="og:description" content="{$page.meta.description}" /> <meta property="og:url" content="{$urls.current_url}" /> <meta property="og:site_name" content="{$shop.name}" /> {if !isset($product) && $page.page_name != 'product'}<meta property="og:type" content="website" />{/if} {/block} {/block} {block name='head_viewport'} <meta name="viewport" content="width=device-width, initial-scale=1"> {/block} {block name='head_icons'} <link rel="icon" type="image/vnd.microsoft.icon" href="{$shop.favicon}?{$shop.favicon_update_time}"> <link rel="shortcut icon" type="image/x-icon" href="{$shop.favicon}?{$shop.favicon_update_time}"> {/block} {block name='stylesheets'} {include file='_partials/stylesheets.tpl' stylesheets=$stylesheets} {/block} {block name='javascript_head'} {include file='_partials/javascript.tpl' javascript=$javascript.head vars=$js_custom_vars} {/block} {block name='hook_header'} {$HOOK_HEADER nofilter} {/block} {block name='hook_extra'}{/block} [/code] Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 Okay, everything seems correct here. Please, now go to phpMyAdmin, choose related database, find "configuration" table and look for "favicon" keyword in NAME column. Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 Understood. If it is possible i want to debug your PS files? Can you PM me some necessary credentials? Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 The problem solved. It was in root/classes/controller/FrontController.php:1709 1) 'favicon' => self::configuredImageUrl('PS_STORES_ICON', $psImageUrl), The mistake was here, just updated "PS_STORES_ICON" to correct key "PS_FAVICON". Then cleared cache. 1 2 Link to comment Share on other sites More sharing options...
Frits van Leeuwen Posted August 5 Author Share Posted August 5 I had send you a private message Thank you verry much. It look perfect! 1 Link to comment Share on other sites More sharing options...
WebCommercify Posted August 5 Share Posted August 5 Thank you for trusting me. Please rename topic, mark as "SOLVED". Link to comment Share on other sites More sharing options...
wigs Posted August 14 Share Posted August 14 On 8/5/2025 at 2:09 PM, WebCommercify said: The problem solved. It was in root/classes/controller/FrontController.php:1709 1) 'favicon' => self::configuredImageUrl('PS_STORES_ICON', $psImageUrl), The mistake was here, just updated "PS_STORES_ICON" to correct key "PS_FAVICON". Then cleared cache. 10/10 solution, so much info in so little text Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now