Forums / Templates, Stylesheets, Page Layout / addthis.com code won't display on product info page

addthis.com code won't display on product info page

Views: 1,622

Results 1 to 6 of 6
26 Jul 2012, 5:11 AM
#1
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

addthis.com code won't display on product info page

I have placed this code in several locations on the product info page and no matter where I put it, the buttons just do not show up.. I am stumped.. I cannot for the life of me figure out what the possible conflict might be.. I could use another set of eyes from anyone willing to help a lady out here..

Currently I have the addthis.com code located underneath the product name:
http://clienthairisle(dot)overthehillweb(dot)com/Hair-Extensions/Economy-Collection/Economy-Unprocessed/Indian-Remy-Micro-Thin-Machine-Weft-Virgin-Curly-Texture-3-Oz

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

26 Jul 2012, 6:59 AM
#2
sph avatar

sph

Totally Zenned

Join Date:
Jan 2006
Posts:
1,556
Plugin Contributions:
0

Re: addthis.com code won't display on product info page

I see it, perhaps you solved it?

Steve
prommart.com

26 Jul 2012, 12:56 PM
#3
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: addthis.com code won't display on product info page

SPH:

I see it, perhaps you solved it?
It doesn't show consistently for me.. and that's just odd as heck.:frusty:. Not sure if it's a Firefox thing or something else.. Do you mind looking at other products on the site and letting me know if you see it??? I moved the code to where I actually wanted it to appear (below "Add to Cart" box)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

26 Jul 2012, 1:44 PM
#4
maac2 avatar

maac2

New Zenner

Join Date:
Jan 2011
Posts:
70
Plugin Contributions:
0

Re: addthis.com code won't display on product info page

Weird, I was able to see the addthis buttons on an accessory product, but after refreshing it disappeared. This was in Chrome. Nothing in Firefox.
If you open the Firefox error console (in the web developer menu) you'll see a couple of errors including jquery not being defined. This may be causing some conflicts?
Even if it doesn't fix addthis, you want to get jquery to load before the other scripts that rely on it.

26 Jul 2012, 2:29 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: addthis.com code won't display on product info page

When I used jquery in a mod, I named the file jscript_1_jquery_142.js so it would load before any other javascript files.

26 Jul 2012, 3:51 PM
#6
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: addthis.com code won't display on product info page

maac2:

Weird, I was able to see the addthis buttons on an accessory product, but after refreshing it disappeared. This was in Chrome. Nothing in Firefox.
If you open the Firefox error console (in the web developer menu) you'll see a couple of errors including jquery not being defined. This may be causing some conflicts?
Even if it doesn't fix addthis, you want to get jquery to load before the other scripts that rely on it.

gjh42:

When I used jquery in a mod, I named the file jscript_1_jquery_142.js so it would load before any other javascript files.
Hmmmmm I wonder if this might explain why if I place the addthis.com script link inside the editable sidebox, then the addthis.com code works consistently afterwards.. I just pasted the script inside the editable sidebox.. I'll leave it like this for right now.. Gonna look at this again tonight..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.