• Resolved regevkamber

    (@regevkamber)


    Hey

    I have the plugin installed with woocommerce

    I want to allow users to register only on the checkout page with the social buttons but if the user is trying to log in to the website on the my-account page I want that they will be able only to log in with the social button and not to register.

    Is that possible?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Support Robert

    (@robertnextendweb)

    Hi @regevkamber!

    We do not have an option for this specifically, but you can achieve something similar with custom coding. However please note that we cannot provide support for custom coding, so this needs to be made and managed by you.

    In our developer documentation we have some filters:
    https://nextendweb.com/nextend-social-login-docs/backend-developer/#validate-username
    that can be used to override a certain logic in Nextend Social Login.
    In your case the “nsl_is_register_allowed” filter could work well in this case. What you need to do is when you are on the “My account” page, set a cookie, which you store this information. Then, inside this filter you can check this cookie to determine the page the user is on, and either allow the registration or don’t.

    Additionally, in the Pro Addon we have an integration for WooCommerce:
    https://nextendweb.com/nextend-social-login-docs/global-settings-woocommerce/
    But on this forum we cannot provide support for commercial products, so if you are interested in this, then please rather contact us through or form:
    https://nextendweb.com/contact-us/nextend-social-login-support/
    Like this the buttons could automatically show up on the My account and Checkout pages. In the Free version, with a bit of work, you can show them there as well, in this case you can use the shortcode:

    [nextend_social_login]

    to place the buttons wherever you need it.

Viewing 1 replies (of 1 total)
  • The topic ‘Allow registration only on checkout page’ is closed to new replies.