WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
Move USA to top of Country list (3 posts)

  1. saiyajinss
    Member
    Posted 3 months ago #

    Is there a way to move USA to the top of the country drop down list? 99.9% of my customers are in the USA and a few have complained about having to scroll through all those other countries. I have removed a few but I want to allow most countries to purchase from my store.

    https://wordpress.org/plugins/wp-e-commerce/

  2. saiyajinss
    Member
    Posted 2 months ago #

    So it seems that the list is generated when the plugin is installed and resides in the data base. Does anyone know how to change this?

  3. Jeff Pye Brook
    Member
    Posted 2 months ago #

    You are probably going to have to modify the code. The WPSC_Countries class has a private function '_compare_countries_by_name' that does a text string comparison. You might want to change that function to always show US as the first country.

Reply

You must log in to post.

About this Plugin

About this Topic