Jump to content

Addthis & Facebook Social Media Plugins Not Working Correctly


traylor23

Recommended Posts

We would love to use the Social Media plugins that are embedded in Cubecart, but they are not behaving the way we need them to.  Let's give a little example:

When we go to share a product, let's just pick one at random:

http://www.ballcardz.com/2010-topps-peak-performance-pp-33-cy-young-baseball-card.html

The Pinterest button does EXACTLY what it is supposed to do; linking to the exact link, picture, etc. from above.

When we go to use Facebook, E-Mail, Twitter or several of the other buttons, it links to this:

Twitter - http://www.ballcardz.com/index.php?_a=product#.VJiuw498FEI.twitter

Facebook and other buttons - http://www.ballcardz.com/index.php?_a=product

I assume this is a coding error, and I have no idea where to look or why :-/

Please help!

 

Thanks,

  Matt

Link to comment
Share on other sites

No...I can actually see real time that these are the links being sent to Facebook or Twitter from the store...I have the option of sending the links or cancelling the request.

The problem is specifically this being sent:

"/index.php?_a=product" + the odd characters after

 

instead of:

/product-name-in-seo-friendly-format.html

 


 

Link to comment
Share on other sites

I don't know what to expect with twitter, but when I hover over the "Follow" button, I get (all on one line):

https://twitter.com/intent/follow
?original_referer=http%3A%2F%2Fwww.ballcardz.com%2F2010-topps-peak-performance-pp-33-cy-young-baseball-card.html
&region=follow_link
&screen_name=ballcardz
&tw_p=followbutton

I don't see twitter as a folder in the Social modules, so I have to conclude this is a third-party code edit.

 

As for the facebook Social module, this line of code:

$attributes[]    = 'href="'.currentPage().'"';

will get the 'friendly' URL. So, are you using CubeCart's facebook module, or is there some other kind of facebook code you are using?

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
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...