County Field Stopping Checkout Process Until A County Is Selected

This topic has 14 replies, 2 voices, and was last updated 7 months, 1 weeks ago ago by Luca Rossi

  • Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 6, 2025 at 22:10

    Though the checkout field is showing as ‘(Optional)’, if it not filled in the customer cannot checkout as the shipping options do not appear until the address is completed with the Mandatory Fields.

    We have this on two website using Xstore.

    Thank you.

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    May 7, 2025 at 08:13

    Dear @mtechnical Ltd,

    We hope this message finds you well.

    Could you kindly confirm whether you would like the “County” field to be made mandatory or removed entirely from the checkout form?

    We look forward to your response.

    Best regards,
    8Theme Team

    Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 7, 2025 at 08:48

    Hello Luca

    whichever solution is easiest. Remove County or change the description from (Optional) to have a * to show it is mandatory.

    Thank you.

    Avatar: Justin
    Luca Rossi
    Support staff
    May 7, 2025 at 10:20

    Hi @mtechnical Ltd,

    Please try adding this custom code under functions.php file locates in your child theme:

    
    add_filter( 'woocommerce_checkout_fields' , 'remove_state_checkout_fields' );
    
    function remove_state_checkout_fields( $fields ) {
        unset($fields['billing']['billing_state']); // Remove state field from billing section
        unset($fields['shipping']['shipping_state']); // Remove state field from shipping section
        return $fields;
    }
    

    Hope it helps!

    Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 7, 2025 at 11:28

    Hello Luca,

    that removes the County Field but unfortunately the shipping will still not complete. I believe we need to change the description from:

    County (optional)
    to:
    County *

    Customers will then know that this is required to complete the checkout.

    Are you able to advise how to make that change?

    Thank you.

    Avatar: Justin
    Luca Rossi
    Support staff
    May 7, 2025 at 13:03

    Dear @mtechnical Ltd,

    We hope this message finds you well.

    In order to review and verify your current settings, we kindly request temporary access to your WordPress admin panel.

    To grant us access, please create a new user account with Administrator privileges via your WordPress Dashboard. Once the account has been created, we would appreciate it if you could securely share the login credentials with us through the Private Content section provided for this purpose.

    Thank you for your cooperation and support.

    Best regards,
    The 8Theme Team

    Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 7, 2025 at 13:19

    Thank you – details have been added in the Private Area.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2025 at 05:43

    Dear @mtechnical Ltd,

    We hope this message finds you well.

    We have noticed that the “State” field is already set as mandatory on the following website: https://prnt.sc/tuT-evunfuIB.

    It appears that the necessary update may only be required on the https://www.rclirrigation.co.uk/ website. To proceed with the necessary adjustments, could you kindly provide us with the admin account credentials?

    Best regards,
    8Theme Team

    Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 8, 2025 at 08:46

    Hello – thank you. Credentials added in the Private Content.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2025 at 09:37

    Dear @mtechnical Ltd,

    We hope this message finds you well.

    We would like to inform you that the “County” field is now a required field during the checkout process. You may view a screenshot of the requirement here: https://prnt.sc/VhP978-0vuwt/.

    It appears that your website is currently utilizing the Booster for WooCommerce plugin. Please note that you can manage and configure all checkout fields, including the “County” field, via the following link:

    https://www.***gation.co.uk/wp-admin/admin.php?page=wcj-plugins&wcj-cat=cart_and_checkout&wcj-cat-nonce=87f1c8599e§ion=checkout_core_fields

    Should you require any further assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 8, 2025 at 10:00

    Thank you for fixing that on the rclirrigation.co.uk.
    Are you able to fix it on the other one?
    This is the main site we had the original problem with.
    I have added notes in the private area.
    Much appreciated!

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    May 8, 2025 at 10:57

    Dear @mtechnical Ltd,

    We hope this message finds you well.

    We would like to inform you that we have implemented the necessary code snippet to make the county field a required input.

    At your convenience, could you kindly review the changes and confirm if everything is functioning as expected?

    Best regards,
    The 8Theme Team

    Avatar: mtechnical Ltd
    mtechnical Ltd
    Participant
    May 8, 2025 at 14:33

    Thank you for your support on this. Very helpful. That has worked.

    Thank you!

    Avatar: Justin
    Luca Rossi
    Support staff
    May 9, 2025 at 05:26

    Dear @mtechnical Ltd,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

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

The issue related to '‘County Field Stopping Checkout Process Until A County Is Selected’' has been successfully resolved, and the topic is now closed for further responses

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