Dominik.Presta Posted December 13, 2021 Share Posted December 13, 2021 Hi, I want to add the "contentUrl" attribute to my shop logo. Currently, in Google tools, it shows me fatal errors. What file in FTP do I need to edit to add this item? I searched head, header, page, index (tpl) and can't find it anywhere... Link to comment Share on other sites More sharing options...
lordignus Posted December 15, 2021 Share Posted December 15, 2021 (edited) I assume you're looking for /themes/{yourtheme}/templates/_partials/javascript.tpl That's the tpl file for bits of js in the page head. Edit: Having re-read your post, maybe that's not what you're looking for. What version of PS are you using? Could the existing json have been generated by a 3rd-party module? Edited December 15, 2021 by lordignus (see edit history) Link to comment Share on other sites More sharing options...
Dominik.Presta Posted December 15, 2021 Author Share Posted December 15, 2021 5 hours ago, lordignus said: I assume you're looking for /themes/{yourtheme}/templates/_partials/javascript.tpl That's the tpl file for bits of js in the page head. Edit: Having re-read your post, maybe that's not what you're looking for. What version of PS are you using? Could the existing json have been generated by a 3rd-party module? I am using version 1.7.7.3. I don't think some 3-rd party module is generating this json. Link to comment Share on other sites More sharing options...
Nickz Posted December 15, 2021 Share Posted December 15, 2021 (edited) Look for a module which is adding the schema org file. If not you need to do some detective job to look into the Site where those infos are. As I don't know which version your shop is guessing is there is. Domain name would help too. Over PM if you wish. Edited December 15, 2021 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
Dominik.Presta Posted December 20, 2021 Author Share Posted December 20, 2021 On 12/16/2021 at 12:07 AM, Nickz said: Look for a module which is adding the schema org file. If not you need to do some detective job to look into the Site where those infos are. As I don't know which version your shop is guessing is there is. Domain name would help too. Over PM if you wish. PrestaShop 1.7.7.5. I also need to change this part of the page code (attachment), but I don't know what is responsible for generating it. I noticed that after removing {block name = 'hook_header'}{$ HOOK_HEADER nofilter}{/ block} in "head.tpl" this part of the code disappears from the page. Where can I edit it? Thank you Link to comment Share on other sites More sharing options...
Nickz Posted December 20, 2021 Share Posted December 20, 2021 On 12/15/2021 at 6:07 PM, Nickz said: As I don't know which version your shop is guessing is there is. Domain name would help too. Over PM if you wish. Look into inspect element or download the database plus entire site to search for it. 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