This topic has 8 replies, 2 voices, and was last updated 1 months, 1 weeks ago ago by Tony Rodriguez
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?
Hello, @Drishti,
Thank you for your response.
We are currently unable to access your website as it appears to be in maintenance mode. In order to assist you further, could you kindly provide us with access to your WordPress admin panel in the private content area? This will allow us to review the issue and provide you with the necessary custom CSS code to hide the country/region field on the checkout page.
Thank you for your cooperation.
Best regards,
The 8Theme Team
Hi Tony, I have added them into the Private area.
Hello, @Drishti,
We are currently unable to access your website as the provided wp-admin login credentials appear to be invalid or not functioning. In order to assist you with hiding the country/region from the checkout page, we kindly request that you provide valid wp-admin login details in the private content area.
Once we have the correct access, we will promptly review the issue and offer the necessary support.
Thank you for your cooperation.
Best regards,
8Theme Team
Added in the private content area.
Thanks
Hello, @Drishti,
Thank you for your response.
Please add next custom CSS code in XStore > Theme Options > Theme Custom CSS > Global CSS.
.woocommerce-checkout #billing_country_field {
display: none !important;
}
We hope this helps. Should you have any additional questions, feel free to reach out.
Best regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up