social-login-prestashop icon indicating copy to clipboard operation
social-login-prestashop copied to clipboard

Plugin doesn't in checkout page

Open sankethpb opened this issue 6 years ago • 5 comments

Prestashop version: 1.7.3 One all version: latest

In checkout page (Create an account / signin), it doesn't show social login option.

sankethpb avatar Jun 15 '18 13:06 sankethpb

Hello, a client just noticed that and I came in to write about the same thing but it is already in the issues. So bump instead. Is it intentional?

Edit: I have found out here http://docs.oneall.com/plugins/guide/social-login-prestashop/ that it might be related to a problem with the theme. So I tried as explained there to add {$HOOK_OASL_CUSTOM} at several places in the .tpl files. Sadly it doesn't work since it prints a plain text string with the script on the page. Any suggestions on how to add the custom hook?

Edit 2: A sneaky edit on the docs site corrected the hook to {$HOOK_OASL_CUSTOM nofilter}, so now it works properly in the template files.

realmofevil avatar Mar 28 '19 18:03 realmofevil

Hello, a client just noticed that and I came in to write about the same thing but it is already in the issues. So bump instead. Is it intentional?

Edit: I have found out here http://docs.oneall.com/plugins/guide/social-login-prestashop/ that it might be related to a problem with the theme. So I tried as explained there to add {$HOOK_OASL_CUSTOM} at several places in the .tpl files. Sadly it doesn't work since it prints a plain text string with the script on the page. Any suggestions on how to add the custom hook?

Edit 2: A sneaky edit on the docs site corrected the hook to {$HOOK_OASL_CUSTOM nofilter}, so now it works properly in the template files.

Specifically in which files you managed to get it?, I have tried several without success

Thanks for your answer

jmcortinag avatar May 17 '20 17:05 jmcortinag

It depends where you want it to appear, you have to decide that for yourself. The path to the template files of your theme is YourPrestashopInstall/themes/yourthemename/templates. After all, the button appeared when placing the hook but it still didn't work even on the latest prestashop 1.7.6.4 and couldn't login with FB or Google, or anything else. In the end after a lot of wasted time I found this module which worked for FB login. https://www.prestashop.com/forums/topic/494491-free-module-facebook-login-registration/ https://hipresta.com/free-prestashop-modules/10-facebook-login-registration-module.html

realmofevil avatar May 17 '20 18:05 realmofevil

It depends where you want it to appear, you have to decide that for yourself. The path to the template files of your theme is YourPrestashopInstall/themes/yourthemename/templates. After all, the button appeared when placing the hook but it still didn't work even on the latest prestashop 1.7.6.4 and couldn't login with FB or Google, or anything else. In the end after a lot of wasted time I found this module which worked for FB login. https://www.prestashop.com/forums/topic/494491-free-module-facebook-login-registration/ https://hipresta.com/free-prestashop-modules/10-facebook-login-registration-module.html

It worked for me, but I could not add it to this URL https://www.tubodeguita.co/pedido

You know what is the file that I must edit and in what part to place it, I am really a novice, thanks

jmcortinag avatar May 17 '20 19:05 jmcortinag

Just do a simple text search in the files, this page appears to be templates\checkout\cart.tpl

realmofevil avatar May 17 '20 21:05 realmofevil