WooCommerce 2FA

Configure two-factor authentication for WooCommerce login and checkout.

Add two-factor authentication (2FA) to WooCommerce login and checkout forms.

TIP

Navigate to SMS Woo Pro → Settings to configure WooCommerce 2FA.

Settings

SettingDescription
Show Button in Login PageDisplay “Login with SMS” button on WooCommerce login form
Show Button in Forgot Password PageEnable SMS verification for password recovery
Message ContentCustomize the OTP SMS message
Automatic Registration via SMSAuto-create accounts for new users logging in via SMS
SMS Password ResetAllow password reset via SMS verification link

How It Works

  1. Login with SMS: Users can log in by entering their phone number and receiving an OTP code
  2. Forgot Password: Users can reset their password using SMS verification instead of email
  3. Auto Registration: New users attempting SMS login are automatically registered

Message Variables

VariableDescription
%otp%One-time password
%user_name%Username
%first_name%First name
%last_name%Last name
%site_name%Website name

Example Message

Your %site_name% verification code is: %otp%

Last updated: December 28, 2025