Home / Forums / WoodMart support forum / Set checkout phone field as required
Home › Forums › WoodMart support forum › Set checkout phone field as required
Set checkout phone field as required
- This topic has 9 replies, 2 voices, and was last updated 1 year, 4 months ago by
Luke Nielsen.
-
AuthorPosts
-
February 25, 2025 at 2:58 pm #640866
fpintoParticipantHi,
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.February 25, 2025 at 4:45 pm #640906
Luke NielsenMemberHello,
Check our article on how to use the Checkout field manager from our theme – https://xtemos.com/docs-topic/fields-manager/
Kind Regards
February 25, 2025 at 6:12 pm #640939
fpintoParticipantHi,
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.February 25, 2025 at 6:27 pm #640943
Luke NielsenMemberHello,
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
February 26, 2025 at 7:03 pm #641245
fpintoParticipantHi,
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?
February 27, 2025 at 11:06 am #641355
Luke NielsenMemberHello,
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
February 27, 2025 at 7:23 pm #641517
fpintoParticipantFebruary 28, 2025 at 1:03 pm #641713
Luke NielsenMemberHello,
Send access to the admin panel so I can check it on your end.
I await your response.
Kind Regards
February 28, 2025 at 1:12 pm #641719
fpintoParticipantHi,
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.February 28, 2025 at 1:36 pm #641743
Luke NielsenMemberHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register