traylor23 Posted December 22, 2014 Share Posted December 22, 2014 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 Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 23, 2014 Share Posted December 23, 2014 Your observations begin by being at the Facebook site or the Twitter site? It is at these sites -- not at your CubeCart store -- where links seem to be malformed? Quote Link to comment Share on other sites More sharing options...
traylor23 Posted December 23, 2014 Author Share Posted December 23, 2014 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 Quote Link to comment Share on other sites More sharing options...
traylor23 Posted December 27, 2014 Author Share Posted December 27, 2014 Any ideas? :-/ Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 27, 2014 Share Posted December 27, 2014 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 ®ion=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? Quote Link to comment Share on other sites More sharing options...
traylor23 Posted December 29, 2014 Author Share Posted December 29, 2014 I did try using a third party social module to get around the error that the AddThis module was causing. The Twitter now works, but the Facebook still give me a link to a blank product page when it is hit on the product someone would want to share. Quote Link to comment Share on other sites More sharing options...
traylor23 Posted December 29, 2014 Author Share Posted December 29, 2014 I'm pretty sure I've got it fixed...found some stray javascript tags that did not have the {literal}{/literal} tags on them. It's working after a cache reset. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 29, 2014 Share Posted December 29, 2014 Glad to hear it. Please keep us posted. 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.