Okay
  Public Ticket #2522282
No completion message/page after registration?
Closed

Comments

  •  1
    CHATZICHARALAMPOUS started the conversation

    Hello,

    is it a way to show that a b2b customer has succesfully registered?

    No completion message/page after registration .

    Thank you.

  •  2,135
    WebWizards replied

    Good morning and sorry about the late reply, we don't usually work during weekends.

    1) There are normally 2 outcomes after registration:

    - if the registration approval is set to "automatic", the user is logged in to their profile page

    - if the registration approval is set to "manual", the user is shown a message saying "Thank you for registering. Your account requires approval. Please wait to be approved". Are you using manual approval but not seeing this message?


    2) You can add a bit of custom code to functions.php, that will redirect users after registration to any custom page that you want (you can build a custom page and design it / write any message you would like). If that would be useful to you, I can give you the code snippet to add, please let me know.


    Kind Regards

    -Stefan

  •  1
    CHATZICHARALAMPOUS replied

    Thank you Stefan!

    Could you please give me the snippet?

    Thanks.

  •  2,135
    WebWizards replied

    Hi,

    Here is the snippet you should add to functions.php.

    In the code below, change the link to your custom page.

    add_filter( 'woocommerce_registration_redirect', 'custom_redirection_after_registration', 1000, 1 );
    function custom_redirection_after_registration( $redirection_url ){
        // Change the redirection Url
        $redirection_url = 'https://yourcustomlink.com'; 
        return $redirection_url; 
    }