• Resolved Matt

    (@visibledeals)


    Hi,

    i only sell to USA customers and want the customer phone to appear as (123) 123-1234 format. But currently when customers enter their phone in checkout page it appears as 1231231234. How can i mask the phone number so they appear like this (123) 123-1234?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Howdy @visibledeals

    From what I gather, you would like to mask the phone number input at the store’s Checkout page.

    While that is not possible with the out-of-the-box functionality of the core WooCommerce plugin, feel free to check out the page, directly linked here, for how to do so.

    Alternatively, another approach is showcased here.

    My suggestion is to use the?Code Snippets plugin?to run the code presented in the guides linked above.

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.

    Thread Starter Matt

    (@visibledeals)

    Hi Pepe,

    The link you suggested doesn’t seem to work when the browser autofill populates the phone number.

    • This reply was modified 1 year, 9 months ago by Matt.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how do i mask phone number?’ is closed to new replies.