Assistance needed – Dynamic checkout fields: Department > City > Neighborhood

This topic has 4 replies, 2 voices, and was last updated 5 months, 1 weeks ago ago by Enmanuel

  • Avatar: Enmanuel
    Enmanuel
    Participant
    July 9, 2025 at 20:30

    Hi XStore Support Team,

    I’m currently working with your XStore theme and need assistance customizing the WooCommerce checkout form to include dynamic hierarchical location fields: Department, City, and Neighborhood.

    Here’s the functionality I’m aiming for:

    When a Department is selected, the corresponding Cities should automatically load.

    When a City is selected, the relevant Neighborhoods for that city should appear.

    This should all work seamlessly without page reloads, ideally using AJAX or conditional dropdowns.

    I’ve attached a sample screenshot showing the layout I want to achieve:

    My questions:

    Does XStore offer native support or WooCommerce integration for this type of dynamic field logic?

    If not, what would you recommend as the best approach to implement this?

    I’m also open to using custom code via functions.php or JavaScript if you can point me in the right direction for integrating this into the checkout process.

    Thank you in advance for your guidance.

    Best regards,

    Enmanuel

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    July 10, 2025 at 08:29

    Dear Enmanuel,

    Thank you for reaching out.

    Please note that the default country/state dropdown provided by WooCommerce (as seen here: https://themes.woocommerce.com/storefront/checkout/) may not fully meet your specific requirements:
    https://image.prntscr.com/image/ajXgmN4qS72U0hmfclQdCA.png

    In this case, we recommend exploring third-party plugins that offer enhanced functionality for country and state selection: https://woocommerce.com/products/.

    Kindly be advised that we have not tested our theme with any third-party plugins that provide this specific feature, so we cannot guarantee full compatibility.

    Should you have any further questions, please feel free to contact us.

    Best regards,
    The 8Theme Team

    Avatar: Enmanuel
    Enmanuel
    Participant
    July 10, 2025 at 18:15

    thanks

    Avatar: Enmanuel
    Enmanuel
    Participant
    July 10, 2025 at 18:15

    Thanks for the support! My topic “Assistance needed – Dynamic checkout fields: Department > City > Neighborhood” has been successfully resolved.

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

The issue related to '‘Assistance needed – Dynamic checkout fields: Department > City > Neighborhood’' 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.