Customer Accounts
Allow customers to create accounts and access order history, manage addresses, and set their preferred FFL dealer โ all with a simple one-time code login. No passwords required.
Features
| Feature | Description |
|---|---|
| Passwordless login | Customers sign in with a 6-digit one-time code sent to their email |
| Order history | View past orders with status, tracking, and payment details |
| Profile management | Update name, phone number, and marketing preferences |
| Address book | Save multiple shipping and billing addresses |
| FFL dealer selection | Set a preferred FFL dealer for firearms purchases |
Enabling Customer Accounts
- Navigate to Settings > General
- Find the Customer Accounts section
- Toggle Enable customer accounts on
- Save your settings
Note: When enabled, a "Sign In" or "Account" link appears in your storefront navigation (depending on your theme).
How Login Works
Customer accounts use one-time passcode (OTP) authentication โ no passwords to remember or reset.
Login Flow
- Customer clicks Sign In on your storefront
- Customer enters their email address
- A 6-digit verification code is sent to their email
- Customer enters the code
- They're signed in and redirected to their account dashboard
Security Details
| Detail | Value |
|---|---|
| Code length | 6 digits |
| Code expiration | 10 minutes |
| Max verification attempts | 5 per code |
| Rate limit | 5 codes per hour per email |
| Session duration | 30 days |
Tip: If a customer doesn't have an account yet, one is automatically created when they first verify their email.
Customer Account Features
Order History
Customers can view all their past orders including:
- Order number and date
- Order status
- Payment and fulfillment status
- Shipment tracking information
- Order totals
Profile Management
Customers can update their profile information:
| Field | Description |
|---|---|
| First name | Customer's first name |
| Last name | Customer's last name |
| Phone number | Contact phone number |
| Marketing preferences | Opt in or out of marketing communications |
Address Book
Customers can manage multiple addresses:
- Add new shipping and billing addresses
- Edit existing addresses
- Delete addresses
- Set a default shipping address
- Set a default billing address
Tip: The first address added is automatically set as the default.
FFL Dealer Selection
For firearms purchases, customers can:
- Search for FFL dealers by name or ZIP code
- Set a preferred FFL location for future orders
- Remove their FFL preference
This saves customers time at checkout by pre-selecting their preferred transfer dealer.
Troubleshooting
Customer Not Receiving Code
Symptoms: Customer doesn't receive the verification email
Solutions:
- Check the customer's spam/junk folder
- Verify the email address is correct
- Ensure your store's email configuration is working
- Check if the customer has exceeded the rate limit (5 codes per hour)
Customer Can't Sign In
Symptoms: Verification code is rejected
Solutions:
- Ensure the code hasn't expired (10-minute window)
- Check that the customer hasn't exceeded 5 verification attempts
- Have the customer request a new code
Account Link Not Showing
Symptoms: No sign-in link on the storefront
Solutions:
- Verify customer accounts are enabled in Settings > General
- Check that your theme supports customer account links
Related Documentation
- Managing Customers - Admin customer management
- FFL Compliance - FFL dealer requirements
- Orders - Order management