wp-e-commerce / WP-e-Commerce

WP eCommerce - The most popular independent eCommerce platform for WordPress
https://wpecommerce.org
GNU General Public License v2.0
216 stars 216 forks source link

Consider adding alternate spelling and relevancy scores to country meta #1826

Open JustinSainton opened 9 years ago

JustinSainton commented 9 years ago

@JeffPyeBrook added a low-level country meta API for us. We currently use it to declare country objects as legacy.

However, we could be using it for more - for example, we could use it to add relevancy scores and alternate spellings for each country. In this way, a Brazilian entering "Brasil" for Brazil would be get properly autocompleted.

Whether or not the database is the proper data store for this is up for discussing, though behind the proper caching layer, it is of little consequence. The cool part here is the customer UX and the fact that the autocomplete script already accommodates this.

JeffPyeBrook commented 9 years ago

So what exactly is the issue to be resolved?

JustinSainton commented 9 years ago

adding relevancy score and alternate spellings to country meta, to be included in the country dropdown.

See source code at http://baymard.com/labs/country-selector#documentation.

country-alternate

JustinSainton commented 9 years ago

Punting to 4.1 pending further traction.