gabiatti Posted May 26, 2014 Share Posted May 26, 2014 My store is calling the wrong product when using the twitter button (socialsharing module). When the popup window opens it shows description/link of another, not the current product. Facebook and Pinterest are ok. http://www.babybybaby.com.br PS: 1.6.0.6 Link to comment Share on other sites More sharing options...
vekia Posted May 26, 2014 Share Posted May 26, 2014 somehow your twitter button always create link to the same product http://babybybaby.com.br/home/53-vestido-xadrex-sweet-heart-rose.html you changed something in module code? or tpl file? Link to comment Share on other sites More sharing options...
gabiatti Posted May 27, 2014 Author Share Posted May 27, 2014 (edited) I made a change to pinterest code at the end of socialsharing.js, to fix loading the url_image. I have the following in twitter function: function socialsharing_twitter_click(message) { if (typeof message === 'undefined') message = encodeURIComponent(location.href); window.open('https://twitter.com/intent/tweet?text=' + message, 'sharertwt', 'toolbar=0,status=0,width=640,height=445'); } The Twitter button calls aleatory product, not just one. Maybe something related to cache/ Edited May 28, 2014 by gabiatti (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now