Skip to content

Phone field

The Phone block adds a phone number field that starts with the dial code for the customer’s shipping country, such as +1.

Available on the Free and Business plans. Needs Shopify Plus.

Setting What it does
Label The field’s label. Plain text.
Customer must fill field to proceed in checkout Makes the number required. The dial code alone doesn’t count as an answer.
Apply validation Check the number against a pattern, such as ^\+1\d{10}$ for US and Canadian numbers. See validation.
Apply effect when value changes Includes Apply value to shipping address phone field, which also fills in the shipping address phone.
  • The dial code isn’t saved until the customer types a number.
  • The number is saved as typed. Use validation if you need a consistent format.
  • To collect a phone number for SMS marketing consent, use the SMS consent block instead. It saves the number to the customer’s profile.