• zaoyao

    (@zaoyao)


    I am using the new checkout of the woocommerce

    May i know how to remove the optional text behind the phone because the phone is the information must be enter

    <div class="wc-block-components-text-input wc-block-components-address-form__phone"><input type="tel" id="shipping-phone" autocapitalize="characters" autocomplete="tel" aria-label="Phone (optional)" aria-invalid="false" title="" value=""><label for="shipping-phone">Phone (optional)</label></div>

    Kindly let me know how to use the pho to remove the optional or how i find this coding in the cpanel?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Sandip Mondal – a11n

    (@sandipmondal)

    Hi @zaoyao,

    To make the phone field required when using the checkout block please go to Pages > Checkout.

    Then, click on the icon with three horizontal lines on the top left, this will show the list view. There, select the Shipping/Billing address (if you want it to be required on both, in case they are different, you need to do this on both).

    If the right sidebar is not showing, please click on the settings icon on the top right. Here’s a screenshot:?https://snipboard.io/3uZK27.jpg — Then, on the sidebar go to the address fields section and make sure the “require phone number” option is enabled.

    Don’t forget to save the changes.

    Here’s a screenshot: https://snipboard.io/ZhmPxE.jpg

    In the future, we suggest you to open a support thread for support requests.

    I hope this helps!

    Thread Starter zaoyao

    (@zaoyao)

    https://prnt.sc/pecbniNicyDO

    In my block will display Collect your customer’s shipping address.

    Thread Starter zaoyao

    (@zaoyao)

    https://prnt.sc/ueCUm6A_JUfK

    Actually my problem is phone number is required when checkout but the word display optional behind the phone. It will let user confuse. I just want to remove the optional word . It mean from the Phone (optional) to phone only

    Plugin Support Sandip Mondal – a11n

    (@sandipmondal)

    Hi @zaoyao,

    Thanks for the clarification and the details.

    You can set the phone field to either “Required” or “Optional” from the same settings. Here’s the screenshot: https://snipboard.io/FqDyMk.jpg

    Can you please try the above and let us know how it goes?

    Looking forward to your reply!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this review.