• Resolved juned21

    (@juned21)


    Hi,

    Thanks for this useful, simple and light weight plugin. I would certainly ‘buy a coffee’ for you once I gets through with my setup.

    My request is: when a used clicks at ‘log-in’ link at Single Prodcut Page, then the user lands at default WP Login page (wp-admin). I want to redirect users at https://example.com/my-account/ page for login. It’s a default Woo my account page.

    I mean user should be able to login/register from this simple and defauld Woo page. This way, user won’t be able to access defaulf WP backend.

    Kindly guide me on this. (otherwise this plugin won’t be useful for me).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Sunny Soni

    (@sunnysoni)

    Hi @juned21 ,

    Thanks for contacting us.

    Please add this snippet in the functions.php found at the root of your active theme or through the Code Snippets plugin.

    add_filter( 'wc_add_qa_login_url', function($url){
    	return get_permalink( get_option('woocommerce_myaccount_page_id') );
    } );

    If it works well, please leave a rating on the plugin, it will be a great memory and motivation for us to serve the community.

    Thanks,
    Sunny

    Thread Starter juned21

    (@juned21)

    Thank you very much. It worked. I will get back to you soon.

    • This reply was modified 2 years, 3 months ago by juned21.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login page’ is closed to new replies.