Appearance
Telephone
Collect phone numbers from customers with validation and mobile-optimized input.
Overview
Telephone is an input option type that provides a text field specifically for phone numbers. It triggers a phone keypad on mobile devices and checks the number's format when the customer adds to cart. With a Telephone template, it also gets a country picker: a flag and calling-code button that opens a searchable list of countries.
Use Telephone for:
- Contact phone numbers
- Delivery coordination
- Appointment scheduling
- Emergency contact information
- SMS notification preferences
Key characteristics:
- Single-line phone number input field
- Phone number format validation
- Can be marked as required
- Supports placeholder text
- Mobile phone keypad
- Optional country picker, added by a Telephone template, which saves the number with its calling code
Configuration
Basic Settings
| Setting | Description |
|---|---|
| Label | Option name displayed to customers (e.g., "Phone Number") |
| Option is required for this option set | If enabled, customers must enter a valid phone number before adding to cart |
| Hide Label from storefront | If enabled, only the input field is shown (label is hidden) |
Advanced Settings
| Setting | Description |
|---|---|
| Internal Label | Admin-only identifier (replaces label in options list) |
| Help Text | Additional guidance shown to customers (based on display mode) |
| Placeholder | Gray text shown inside empty input field (e.g., "(555) 123-4567") |
| CSS class | Your own class name(s) on this option's container — see CSS Class & CSS ID |
| CSS ID | Your own HTML ID on this option's container — see CSS Class & CSS ID |
How to Add Telephone
- Navigate to Option Sets and open your option set
- Click Add Option
- Select Telephone from the Option Type modal
- Enter a Label (e.g., "Contact Phone")
- Check Option is required if phone number is mandatory
- (Optional) Click Advanced Settings to add Placeholder or Help Text
- (Optional) Click Style Settings to assign a Telephone template, which adds the country picker
- Click Save in the contextual save bar
Country Picker
A Telephone option with no template is a plain phone field: the customer types the whole number, and it's saved exactly as typed. Assigning any Telephone template adds a country picker beside the field, unless the template's Country picker is set to None. The list starts on the shopper's own country, can be searched by name or calling code, and a pasted full number such as +44 20 7946 0958 switches the country for them.
The picker changes what's saved to the cart. For an option labelled Phone number:
| Option uses | Customer enters | Cart line |
|---|---|---|
| A template with a country picker | Bosnia and Herzegovina, then 61 234 567 | Phone number: +387 61 234 567 |
| A template with Country picker None | 061 234 567 | Phone number: 061 234 567 |
| No template (Global styles) | 061 234 567 | Phone number: 061 234 567 |
With a picker, the saved value is a plus, the calling code, a space, then the number exactly as typed, a leading 0 included. Picking a country without typing a number saves nothing, so a required Telephone still blocks Add to cart. Edit in Cart reopens the field with the saved country and number.
Check anything that reads the phone number
Once a template with a picker is assigned, new orders carry the number with its calling code (+387 61 234 567). If an app, a script or your fulfilment team reads this property in a fixed format, check it handles the + code, or set the template's Country picker to None.
See Telephone Styling for the picker's styles, the country list settings, search, keyboard use and what customers see.
Use Cases
Delivery Contact
Label: Delivery Phone Number Required: Yes Placeholder: (555) 123-4567 Help Text: We'll call or text if there are any delivery issues
Result: Required phone field for delivery coordination
Appointment Confirmation
Label: Contact Number Required: Yes Placeholder: +1 (555) 123-4567 Help Text: We'll send appointment confirmations to this number
Result: Required phone number for appointment notifications
Optional Contact
Label: Phone Number (Optional) Required: No Placeholder: (555) 123-4567 Help Text: Provide a phone number for faster order updates
Result: Optional phone field for additional contact method
SMS Notifications
Label: Mobile Number for SMS Required: No Placeholder: Mobile number Help Text: Receive text updates about your order
Result: Optional phone field specifically for SMS
Emergency Contact
Label: Emergency Contact Number Required: Yes Placeholder: (555) 123-4567 Internal Label: Customer Emergency Contact
Result: Required emergency contact phone number
Validation
Phone number validation:
- The number needs at least 6 digits
- Apart from digits, only spaces,
+,.,-and brackets are allowed, so+1 (555) 123-4567and555.123.4567both pass - Anything else, such as letters, shows Please enter a valid phone number
- A required field left empty shows your store's Option Required Message
Validation occurs:
- When the customer presses Add to cart
- The message shows under the field and clears as soon as the customer types in it
Styling
With no template assigned, Telephone input fields inherit styling from your theme and customization settings:
- Colors: Input background, text, border, and placeholder colors from Colors
- Border: Input border thickness from Borders & Shapes
- Radius: Input corner radius from Borders & Shapes
- Spacing: Option spacing between fields from Borders & Shapes
For more control, assign a Telephone template. It styles the field, the label and the help text, and adds the country picker. See Telephone Styling.
Best Practices
Use clear placeholders:
- Show expected format: "(555) 123-4567" or "+1 555-123-4567"
- Include country code if international, unless the option has a country picker: then show the number without its code, e.g. "61 234 567", so customers don't type it twice
- Match local conventions
- Keep format consistent
Explain phone usage:
- Use Help Text to explain why phone is needed
- Mention if it's for calls, texts, or both
- Specify delivery, appointments, or emergencies
- Note if number will receive SMS
Set appropriate requirements:
- Required for delivery or appointments
- Optional for additional contact methods
- Test validation with various formats
- Ensure error messages are helpful
Mobile optimization:
- Triggers numeric/phone keyboard on mobile
- Includes special phone characters (+, -, (), space)
- Test on actual mobile devices
- Verify tap targets are adequate
International considerations:
- Support international phone formats
- Include country code placeholders if needed
- Assign a Telephone template to give customers a country picker
- Test with various number lengths
Related
- Short Text - Single-line text input
- Email - Email address input
- Telephone Styling - Country picker, field look, labels and help text
- Internal Label - Admin-only identification
- Help Text - Additional context display
- Placeholder - Input field placeholder text
- Required Fields - Making options required