Home Forums WoodMart support forum Set checkout phone field as required

Set checkout phone field as required

Viewing 10 posts - 1 through 10 (of 10 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
    Member

    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
    Member

    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

    #641245

    fpinto
    Participant

    Hi,

    If I remove Gutenberg and define the [woocommerce_checkout] shortcode, the phone field becomes required, but I also lose the design, which is something I don’t want. Is there any other way to work around this situation?

    #641355

    Luke Nielsen
    Member

    Hello,

    Unfortunately, our Checkout field manager doesn’t work with that default Gutenberg template of Checkout.

    So try to make it as required as shown in this https://prnt.sc/YyaTK37aK0NV screenshot.

    Thank you for your time and patience.

    Kind Regards

    #641517

    fpinto
    Participant

    Hi,

    I can’t edit the Gutenberg template of Checkout. Can’t see the edit with Gutenberg, on the page list or inside the page. And i don’t have the Gutenberg disable on the theme options.

    • This reply was modified 1 year, 4 months ago by fpinto.
    Attachments:
    You must be logged in to view attached files.
    #641713

    Luke Nielsen
    Member

    Hello,

    Send access to the admin panel so I can check it on your end.

    I await your response.

    Kind Regards

    #641719

    fpinto
    Participant

    Hi,

    Thanks for the reply, link and credencials are in the Extra information panel, in the front-end, you can put the cupon code s12 to directly go to a product if you need to test the front end.

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

    Luke Nielsen
    Member

    Hello,

    Currently, it started to show the button https://prnt.sc/K65Au998s-bE but it’s not working well so I suggest you enable the Gutenberg in Theme Settings here – https://prnt.sc/jCN9JAnM201T then make changes for the Gutenberg checkout element and change back to WPB.

    Kind Regards

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