• Resolved rjhibbs

    (@rjhibbs)


    Hi there,

    Currently when you search/type a particular Country in the Country field on the WooCommerce checkout page it displays all countries based on all characters that exist within the word versus limiting it to the first letter of the Country.

    It there a setting in WooCommerce or snippet available that would search based on just the first letter versus all letters in word?

Viewing 1 replies (of 1 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @rjhibbs

    Currently, WooCommerce’s default behavior is to search for all characters within the word when you type in the country field. This is designed to help customers find their country more easily, even if they only remember a part of the country’s name.

    Unfortunately, there is no built-in setting in WooCommerce that allows you to modify this behavior directly.

    That being said, it is possible to alter this functionality with custom code, but it would require some technical knowledge and could potentially impact other aspects of your site.

    However, custom coding is not something we can assist with directly. If you decide to proceed with this route, or have further questions on development or custom coding, don’t hesitate to reach out to some of our great resources available for support. Our WooCommerce community is brimming with skilled open-source developers who are active on the following channels:

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Search Country field based on first letter’ is closed to new replies.