Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove /* on https://herbalmedicineuk.com/shop/catalog/all-products etc.


Recommended Posts

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

 

CAT2024-08-06 204053.png

Link to comment
Share on other sites

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?

At least 90% of my programming problems lie somewhere between my keyboard and my chair.

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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.

 

 

At least 90% of my programming problems lie somewhere between my keyboard and my chair.

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...