WooCommerce Ajax Login/Register

WooCommerce Ajax login/register is a light-weight plugin for WooCommerce shops and changes the user login, registrations and lost password to use Ajax and jQuery validation with no page refresh and to avoid the standard WooCommerce login process that loads the page to display error messages and to provide your customers with improved UI/UX.

Screenshots

blank
blank

blank

Getting Started

Features

  1. Plugin does not have settings, just install and it will work.
  2. adds jQuery validation and ajax to WooCommerce login / registeration.
  3. adds jQuery validation and ajax to WooCommerce reset password form.
  4. Functionality for manage WooCommerce registration password strength and update Password Error Message.
  5. User can manage password strength from WooCommerce>Ajax Login/Register.
  6. User can enable/disable captcha in login,register and forgot password form.

Installation

  1. Download the plugin’s .zip file
  2. Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
  3. Install Now and Activate the plugin.

Settings

The Ajax Login plugin works after installations, you can change the password strength settings from WooCommerce > Setting > Accounts & Privacy.

  • Select registration password strength
  • Enable / Disable captcha  from login and registration form
blank

Code Snippets

Login Redirect

You can redirect the customers to any custom page after successful login or registration. Use the code snippet to redirect customers to the homepage. You can modify the code if you want to redirect to any other page.

Registration redirect

Just use below snippet by using this snippet you can maintaining login status after successful login. You just need to add this snippet code in a function.php file if you want to maintain login status.

After Login Registration

Change Password Strength message for Registration form

Just use below snippet by using this snippet you can Change Password Strength message for Registration form. You just need to add this snippet code in a function.php file if you want to change password strength message.

/*
* Change the message of the password strength in registration form.
*/
add_filter( 'ajaxlogin_register_password_message', 'add_custom_message_func', 30, 1 );
function add_custom_message_func( $message ){
$message = sprintf( __( 'Write your custom message here' ) );
return $message;
}

Change Reset Password message

Just use below snippet by using this snippet you can Change Reset Password message for forgot form. You just need to add this snippet code in a function.php file if you want to reset password message.

/*
* Change the message of the reset password message.
*/
add_filter( 'ajaxlogin_lost_password_message', 'cbr_add_custom_message_func', 10, 1 );
function cbr_add_custom_message_func( $message ){return "Write your custom meessage here";
}

Free

Download

On this page