This topic has 4 replies, 2 voices, and was last updated 3 months ago ago by Tony Rodriguez
in checkout form country field not working i want to remove it
Hello, @kirti,
Thank you for choosing XStore as your WooCommerce WordPress theme.
Should you wish to remove the country field from the checkout form, kindly proceed by adding the following custom CSS code. You can do this by navigating to XStore > Theme Options > Theme Custom CSS > Global CSS in your admin panel:
.woocommerce-checkout .woocommerce-billing-fields.design-type-multistep p#billing_country_field {
display: none !important;
}
We trust this will assist you in customizing your checkout form as per your requirements. Should you have any further questions or require additional assistance, please do not hesitate to contact us.
Best Regards,
The 8Theme Team
but m still getting this issue even after removing country field
Hello, @kirti,
Thank you for your response.
We suppose that this error is related to WooCommerce update that you made. Go to Shipping options and make sure that you created Shipping zones correctly according to WooCommerce docs https://woocommerce.com/document/setting-up-shipping-zones/
The Country field is required in the checkout form. If you remove it, orders cannot be completed.
Please contact WooCommerce support for further assistance https://wordpress.org/support/plugin/woocommerce/
We hope this information is helpful.
Best Regards,
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up