keito Posted March 21, 2014 Share Posted March 21, 2014 Hello guys, I'm a bit confuse on how and where to put AddThis Social Sharing button on my website (Prestashop 1.6). I tried HTMLbox module, AddThis module, BlockAddThis module, and Prestaloveeasyfooter module but it doesn't show the social sharing buttons. This my AddThis code <!-- AddThis Button BEGIN --> <div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a> <a class="addthis_counter addthis_pill_style"></a> </div> <script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-530bf3b2187e73b7"></script> <!-- AddThis Button END --> The attached files below are the modules that I tried. addthismodule.zip htmlbox.zip blockaddthis v0.1.zip prestaloveeasyfooter_1.zip Thank you! 2 Link to comment Share on other sites More sharing options...
NemoPS Posted March 21, 2014 Share Posted March 21, 2014 You can even hardcode it inside product.tpl, if you want Link to comment Share on other sites More sharing options...
keito Posted March 21, 2014 Author Share Posted March 21, 2014 You can even hardcode it inside product.tpl, if you want But I will put the AddThis Social Sharing Button in the Home Page. And where can I find product.tpl file? Thanks for the response. Link to comment Share on other sites More sharing options...
NemoPS Posted March 21, 2014 Share Posted March 21, 2014 Ah, well in that case it's index.tpl (all tpls for the theme are located in the theme folder). Where exactly do you want to add that in the homepage? Link to comment Share on other sites More sharing options...
keito Posted March 21, 2014 Author Share Posted March 21, 2014 Ah, well in that case it's index.tpl (all tpls for the theme are located in the theme folder). Where exactly do you want to add that in the homepage? I'll put that on Store Information Block after Email: [email protected] or maybe align with this one © 2014 Prestashop (right side). Thanks for the fast response. Link to comment Share on other sites More sharing options...
NemoPS Posted March 21, 2014 Share Posted March 21, 2014 If so, you must edit blockcms.tpl which you can find in the theme folder /modules Link to comment Share on other sites More sharing options...
keito Posted March 24, 2014 Author Share Posted March 24, 2014 If so, you must edit blockcms.tpl which you can find in the theme folder /modules I already paste the code in blockcms.tpl but i don't know exactly the correct code for that. Because I simply paste the code under the Email and then when I refresh it to see the changes, the whole page (index page) doesn't show up. Link to comment Share on other sites More sharing options...
Dh42 Posted March 24, 2014 Share Posted March 24, 2014 I don't know if it will help, but I have a free module that is compatible with 1.6. Here is a link to it. http://blog.dh42.com/free-prestashop-add-module/ It supports many different addthis methods like suggested pages and such. Link to comment Share on other sites More sharing options...
keito Posted March 24, 2014 Author Share Posted March 24, 2014 I don't know if it will help, but I have a free module that is compatible with 1.6. Here is a link to it. http://blog.dh42.com/free-prestashop-add-module/ It supports many different addthis methods like suggested pages and such. Dh42, Thanks for suggestion but I already tried your free module but it doesn't show up correctly on my page. 1 Link to comment Share on other sites More sharing options...
Dh42 Posted March 24, 2014 Share Posted March 24, 2014 What is it doing wrong? I can fix it to suit your needs. Link to comment Share on other sites More sharing options...
keito Posted March 24, 2014 Author Share Posted March 24, 2014 What is it doing wrong? I can fix it to suit your needs. Oh, No need. I already solved it. Thanks for the help b the way. Link to comment Share on other sites More sharing options...
peter433 Posted February 6, 2015 Share Posted February 6, 2015 Where to add this code from ADDthis: Add the following code to the <body> of your website. <!-- Go to www.addthis.com/dashboard to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51b896cd7abc6e6f" async="async"></script> Any ideas please Link to comment Share on other sites More sharing options...
NemoPS Posted February 7, 2015 Share Posted February 7, 2015 Have you tried out the free module? ANyway you can that where you want inside the body element, but I suggest you do it at the very end, before </body> in footer.tpl (theme folder) Link to comment Share on other sites More sharing options...
peter433 Posted February 9, 2015 Share Posted February 9, 2015 Hello, I need this at the left hand, please see this link: http://www.accessgaragedoors.com/ Peter Link to comment Share on other sites More sharing options...
peter433 Posted February 9, 2015 Share Posted February 9, 2015 its ok sorted Thanks Link to comment Share on other sites More sharing options...
Recommended Posts