Change successfully-activated-account page

First off, thanks for the awesome plugin. It all works perfectly!

Ours is probably a unique situation. We use registrationmagic to handle our customer registration. When the customer successfully creates their password and is redirected to the login page, we want them to complete the registration form which is shown below the login instead of immediately logging in. We want to hide the login section on that page.

Could you tell me how to customize the successfully-activated-account page so that I can hide the login section and direct them to complete the form?

Add Comment
3 Answer(s)

I figured it out in the plugin, but is there a way to add it in functions.php so that it doesn't get overwritten in an upgrade?


public function successfully_activated_account() {
if ( isset( $_GET['successfully-activated-account'] ) && 'yes' == $_GET['successfully-activated-account'] ) {
wc_add_notice( __( 'You have successfully activated your account.<br><br><h3>Please complete the registration form below to complete your account setup.</h3>', 'create-customer-order' ) );

echo '<style>




Answered on February 7, 2018.
Add Comment

So here's what I ended up with.  This  redirects them to the signup form after they enter their chosen password.

Can you help me filter this in functions.php?

public function update_customer_password_state( $user ) {
$password_not_changed = get_user_meta( $user->ID, 'create_customer_on_order_password', true );
if ( $password_not_changed ) {
delete_user_meta( $user->ID, 'create_customer_on_order_password' );


<script type="text/javascript">

window.location = '<?php echo add_query_arg( array( 'successfully-activated-account' => 'yes' ), get_permalink( $post=16355 )); ?>';




Answered on February 7, 2018.
Add Comment

Hi there. Sorry for the delay. Our developer is going to have to help you with this one. I'll see if he is able.

Answered on February 20, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.