Home Forums WoodMart support forum Set checkout phone field as required

Set checkout phone field as required

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #640866

    fpinto
    Participant

    Hi,
    How can I set the phone field in the shipping and billing form as required? At the moment, it is set as optional, and I don’t know where to change it.

    Attachments:
    You must be logged in to view attached files.
    #640906

    Luke Nielsen
    Keymaster

    Hello,

    Check our article on how to use the Checkout field manager from our theme – https://xtemos.com/docs-topic/fields-manager/

    https://prnt.sc/vXA7FpK6jf3o

    Kind Regards

    #640939

    fpinto
    Participant

    Hi,

    I have that setting selected, but for the billing phone, I don’t have any configuration in the settings list. It is still showing as optional.

    Another thing… how can I validate the phone number to ensure it has exactly 9 digits?

    Attachments:
    You must be logged in to view attached files.
    #640943

    Luke Nielsen
    Keymaster

    Hello,

    Set the checkout with the theme’s template, which means, remove the “Checkout” element in the Gutenberg and define the [woocommerce_checkout] shorcode to show the check page, then recheck the issue.

    As for the validation, this field comes from WooComemerce and our theme cannot influence it.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)