Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't in checkout page #17

Open
sankethpb opened this issue Jun 15, 2018 · 5 comments
Open

Plugin doesn't in checkout page #17

sankethpb opened this issue Jun 15, 2018 · 5 comments

Comments

@sankethpb
Copy link

Prestashop version: 1.7.3
One all version: latest

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

@realmofevil
Copy link

realmofevil commented Mar 28, 2019

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.

@jmcortinag
Copy link

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

@realmofevil
Copy link

realmofevil commented May 17, 2020

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

@jmcortinag
Copy link

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

@realmofevil
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants