Zeryk Posted October 16, 2014 Share Posted October 16, 2014 Facebook and Google + share buttons in product details ae not working properly. When I click on it it sends the link on all products from front page ( Recomended products ) instead just that particular product. Pinterest and Twitter work fine. Anybody idea why? Link to comment Share on other sites More sharing options...
Zeryk Posted October 16, 2014 Author Share Posted October 16, 2014 I turned off Recomended Products module, After presin F share button it was posting picture from slideshow.So I turned off Slideshow module, then is was targeting on jpg logo of my shop. I really dont get it.:-( Link to comment Share on other sites More sharing options...
vekia Posted October 17, 2014 Share Posted October 17, 2014 what module version and what theme you use? (also what prestashop version?) any chance to see these pages live? Link to comment Share on other sites More sharing options...
wmh90 Posted January 20, 2015 Share Posted January 20, 2015 Same here, under PS 1.6.0.11 The default share button only shares the logo from my store, not the image from product. I have built some code for sharing buttons a while ago, when I was under PS 1.4 I guess: <table> <tbody> <tr> <td style="padding-top: 0px;padding-left: 0px;padding-right: 0px;padding-bottom: 0px"> <a href="http://pinterest.com/pin/create/button/?url={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}&media={$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}" class="pin-it-button" count-layout="horizontal">Pin It</a> <script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script> </td> <td style="padding-top:3px;padding-left:15px"> <iframe src="http://www.facebook.com/plugins/like.php?href=http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}&send=false&layout=button_count&width=450&show_faces=false&font=arial&colorscheme=light&action=like&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe> </td> <td style="padding-right: 0px"> <p style="margin-bottom: 0px; width: 90px"> <a href="http://twitter.com/share" class="twitter-share-button" data-text="{$product->name}" data-count="horizontal" data-via="TrashMashers">Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></p> </td> <td style="padding-top: 0px;padding-left: 0px;padding-right: 0px;padding-bottom: 0px"> <g:plusone{if $ogoogleplusone_size != 2} size="{if $ogoogleplusone_size == 1}small{/if}{if $ogoogleplusone_size == 3}medium{/if}{if $ogoogleplusone_size == 4}tall{/if}"{/if}{if $ogoogleplusone_inc_count==0} count="true"{/if}{if !empty($ogoogleplusone_jsCallBack)} callback="{$ogoogleplusone_jsCallBack}"{/if}{if !empty($ogoogleplusone_urlto)} href="{$ogoogleplusone_urlto}"{/if}></g:plusone> </td> </tr> </tbody> </table> The google+ needs a module installed to work, named "oGooglePlusOne v1.0 - by odience.net - Amir H. MORADI" All works fine, but I need to add a working share button too. Someone could help me create a Share button, like the "Like" one I created? Link to comment Share on other sites More sharing options...
sernu Posted February 3, 2015 Share Posted February 3, 2015 Anyone managed to solve this question? Link to comment Share on other sites More sharing options...
Recommended Posts