jomcdonald Posted June 8, 2011 Share Posted June 8, 2011 I'm french.. sorry for my english ;-P Here is how to integrate google+1 button on the product pages (under the product image). 1 - In "header.tpl" insert the following code between { $ HOOK_HEADER} and "</ head>" s-cript> Important: remove the - to "s-cript " 2 - In "product.tpl" insert the following code between " " and {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} : Here is a screenshot of the result. Link to comment Share on other sites More sharing options...
kind Posted June 8, 2011 Share Posted June 8, 2011 Is it useful for all versions of the prestashop?And I didn't understand Important: remove the – to s-cript “ Link to comment Share on other sites More sharing options...
jomcdonald Posted June 8, 2011 Author Share Posted June 8, 2011 tested on 1.4.1Important: remove the – to "s-cript “s-cript = script Link to comment Share on other sites More sharing options...
kind Posted June 8, 2011 Share Posted June 8, 2011 Thanx alot! It works good on Version 1.2.5.0 Link to comment Share on other sites More sharing options...
Patrick_64 Posted June 16, 2011 Share Posted June 16, 2011 Thank's for this, but a problem in 1.3.1.1, the product page come in 15 sec and the image +1 don't display.i remove the '-' to th line in header.tplhave you un idea ?in french :merci pour ta contribution. le seul problème c'est que le bouton ne s'affiche pas et la page produit met 15 seconde pour s’afficher.Aurais-tu une idée ?merciPatrick Link to comment Share on other sites More sharing options...
dzindzilia Posted July 5, 2011 Share Posted July 5, 2011 Hi,it works for me too. But actually I failed to change the language of this entry. I tried this one (like google gave), but it just screws everything: {lang: 'lt'} I removed the "-" in "script".Can someone help me with the language?Thanks! Link to comment Share on other sites More sharing options...
NassimBojji Posted July 7, 2011 Share Posted July 7, 2011 thank you very much Jomcdonald for this tip iworks perfectly in version 1.4.3 :-) Link to comment Share on other sites More sharing options...
diana13 Posted July 15, 2011 Share Posted July 15, 2011 The language also doesn't work for me.Without selecting a language, works fine. But if I put the script with language in footer, half a site disappears. If I put the script in header, the entire site disappears (show a blank page). {lang: 'ro'} Link to comment Share on other sites More sharing options...
casitto Posted July 16, 2011 Share Posted July 16, 2011 I quote diana13, same problem whit the language PS version 1.3.6 Link to comment Share on other sites More sharing options...
powered Posted August 7, 2011 Share Posted August 7, 2011 Are the scripts removed? I can't see them in the first post inside the boxes. Link to comment Share on other sites More sharing options...
Tushee Posted August 10, 2011 Share Posted August 10, 2011 Here is a solution for the language problems: instead of using {lang: lt} use {ldelim}lang: li{rdelim} The problem comes from the Smarty template engine. Link to comment Share on other sites More sharing options...
alazyrabbit Posted October 10, 2012 Share Posted October 10, 2012 You can do this manually, ie write some code. It's easy. Try this article: http://liangsun.org/php/how-to-add-pinterest-google-1-facebook-like-tweet-to-prestashop/ 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