This topic has 3 replies, 2 voices, and was last updated 23 minutes ago ago by Drishti
1) Single Error Message for Required Fields:
Currently, when multiple required fields are left blank during checkout, individual error messages appear for each missing field. I would like to change this behavior so that only a single error message is shown when any required fields are missing. The error message for validation issues should remain the same as it is now—this customization should only apply to required field errors.
2) Country and Apartment Field Customization:
I would like to remove or hide the Country and Apartment fields from both the billing and shipping address sections on the checkout page. The Country should be set to “India” by default and should not be editable by the user.
Please refer to the attached screenshot for more info and let me know how I can achieve these customizations.
Hello, @Drishti,
Thank you for contacting us and for using XStore.
1/ Regarding the Cart/Checkout functionality, these are default components provided by the WooCommerce plugin. Currently, there is no built-in option to change this behavior and edit the fields in these forms directly through the theme settings.
For further assistance or modifications related to these forms, please contact WooCommerce support directly at: [WooCommerce Support]
https://wordpress.org/support/plugin/woocommerce/
OR you may request additional customization through your account here: https://www.8theme.com/account/#etheme_customization_panel
We hope this information proves helpful to you.
2/ A/ To remove or hide the Apartment fields on checkout, Please navigate to XStore > Theme options > Woocommerce > Checkout > Address line 2 field > Select hidden and publish it.
Please see the image for reference here: https://paste.pics/S5779
B/ If you wish to set the Country to “India” by default and should not be editable by the user. Please navigate to WordPress dashboard > Woocommerce > Settings > General > Select Country / State as (India) > Select Selling location(s) and Sell to specific countries > Select Shipping location(s) and Ship to specific countries and save changes.
Please see the image for reference here: https://paste.pics/S57BA
We hope this helps. Should you require any further assistance, please do not hesitate to reach out. We are here to help you.
Best regards,
The 8Theme Team
Hi, How can I hide the country/region from the checkout page?
You must be logged in to reply to this topic.Log in/Sign up