herbsandhelpers Posted August 6 Share Posted August 6 Hello, I'm struggling to find where I need to alter this. Tried the main main.tpl etc. and all related areas. Can see it in design but no way to change it. Please help! Only appears on Product related pages. Thanks in advance, Lorraine Quote Link to comment Share on other sites More sharing options...
DKarr Posted August 7 Share Posted August 7 Looking at the page source, it appears that it is related to a script for a Google tag. Do you have the ability to make multi-file search for specific text in your cart program? Quote At least 90% of my programming problems lie somewhere between my keyboard and my chair. Link to comment Share on other sites More sharing options...
herbsandhelpers Posted August 7 Author Share Posted August 7 Thanks for your response. The google tag is in the main.tpl so fires on every page. Error only appears on catalog products pages. Shows up in design too but I can’t find where it is to delete it … Cookie control is latest GCM so user can control exactly. Lorraine Quote Link to comment Share on other sites More sharing options...
DKarr Posted August 7 Share Posted August 7 My bad: it's just before the gtag script. But if it's visible in Design, I'd look at the code for whatever else is around it concentrating on header scripts in your theme as well. Quote At least 90% of my programming problems lie somewhere between my keyboard and my chair. Link to comment Share on other sites More sharing options...
herbsandhelpers Posted August 7 Author Share Posted August 7 Hi, Thanks for trying to help, The google script is only in main.tpl I searched this file, downloaded lots of others that maybe likely suspects but nothing can be found. Thats why I’m selling help, if anyone has had this issue or can point to the actual page/template to adjust, I’d be most grateful, downloaded about 20 odd files so far, nothing found, exasperating … Lorraine Quote Link to comment Share on other sites More sharing options...
herbsandhelpers Posted August 9 Author Share Posted August 9 Hmmm, Without knowingly doing anything the stray /* has gone!?!?! Ghost in the machine? For anyone with Windows wanting to do a detailed search inside the files of a folder, I can recommend Notepad ++ Thank you, Lorraine Quote Link to comment Share on other sites More sharing options...
pandrei Posted August 20 Share Posted August 20 On 8/10/2024 at 1:42 AM, herbsandhelpers said: Without knowingly doing anything the stray /* has gone!?!?! Try to find this part in in the page source. Right click on the page and select "View page source". If you find it, you can trace it back to where it came from. Quote Link to comment Share on other sites More sharing options...
herbsandhelpers Posted August 20 Author Share Posted August 20 It’s gone on its own! Despite deep searches I never found it. I’ve no idea what it was or why it’s gone … Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.