Checkout Page Error and Fields Customization Request

This topic has 8 replies, 2 voices, and was last updated 1 months, 1 weeks ago ago by Tony Rodriguez

  • Avatar: Drishti
    Drishti
    Participant
    October 11, 2024 at 21:57

    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.

    Files is visible for topic creator and
    support staff only.
    7 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 12, 2024 at 09:48

    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

    Avatar: Drishti
    Drishti
    Participant
    October 16, 2024 at 21:34

    Hi, How can I hide the country/region from the checkout page?

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 17, 2024 at 05:27

    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

    Please contact administrator
    for this information.
    Avatar: Drishti
    Drishti
    Participant
    October 17, 2024 at 20:01

    Hi Tony, I have added them into the Private area.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 18, 2024 at 05:58

    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

    Please contact administrator
    for this information.
    Avatar: Drishti
    Drishti
    Participant
    October 19, 2024 at 00:21

    Added in the private content area.

    Thanks

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    October 19, 2024 at 05:43

    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

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.