WooCommerce 2FA
Configure two-factor authentication for WooCommerce login and checkout.
Available on:
Add two-factor authentication (2FA) to WooCommerce login and checkout forms.
TIP
Navigate to SMS Woo Pro → Settings to configure WooCommerce 2FA.
Settings
| Setting | Description |
|---|---|
| Show Button in Login Page | Display “Login with SMS” button on WooCommerce login form |
| Show Button in Forgot Password Page | Enable SMS verification for password recovery |
| Message Content | Customize the OTP SMS message |
| Automatic Registration via SMS | Auto-create accounts for new users logging in via SMS |
| SMS Password Reset | Allow password reset via SMS verification link |
How It Works
- Login with SMS: Users can log in by entering their phone number and receiving an OTP code
- Forgot Password: Users can reset their password using SMS verification instead of email
- Auto Registration: New users attempting SMS login are automatically registered
Message Variables
| Variable | Description |
|---|---|
%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%
Related
- 2FA & Login Settings - WordPress 2FA settings
- WooCommerce Integration - WooCommerce SMS notifications
- OTP Rate Limiter - Limit OTP request frequency
Last updated: December 28, 2025