Forums / General Questions / Extra string at end of product info url

Extra string at end of product info url

Views: 756

Results 1 to 4 of 4
3 Sep 2015, 8:56 AM
#1
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Extra string at end of product info url

I noticed today that at one of the sites I'm working at there is an extra string starting with #. after the product_id when viewing the product info on an item in the store.
I don't think this string has been there before and I can't find out what is causing this extra part to appear on just the product info pages (as far as I know this string only turns up on those pages).

The site is www4. carmo.nl
At the moment I'm still working on it so some stuff may not work exactly as intended.

Does anyone know what may cause this to happen and how to turn this off?

3 Sep 2015, 9:06 AM
#2
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Re: Extra string at end of product info url

Okay, I think I just found the cause of the extra string. I had looked for several hours already before posting my question and several minutes after posting it I think I found the solution.

After removing the addthis part of the page the extra string no longer turned up. The addthis part was something we were still thinking of whether it should be included or not, so removing it probably won't be an issue for this site.

4 Sep 2015, 1:31 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Extra string at end of product info url

Yes, the AddThis script adds that junk.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Sep 2015, 7:28 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Extra string at end of product info url

AddThis is also prone to slowing down the page-load time - and as PageSpeed is now a central facet of Google's evaluation of a site's UX, I would not install anything external that slows page-loading speeds.

Also - when we had this on some of our sites - fewer than 1 in 10,000 visitors ever bothered to use it. They have come to shop, and to checkout as quickly and as easily as possible.

There are other ways of leveraging social networks for wider reach. AddThis is a complete waste of time. We dumped it some time ago.

20 years a Zencart User