• Store URL: http://fredsoll.com
    WordPress version: 3.9.1
    WP eCommerce version: 3.8.14.1
    Gold Cart version: 2.9.7
    Theme: Genesis 2.0.2

    The issue:

    At the top of the checkout page, underneath “Please choose a country below to calculate your shipping costs”, there is a country list dropdown.
    The list is not, however, in alphabetical order, and instead starts with Mauritania. This sort order seems to coincide exactly with the
    wpsc_currency_list table in the database.

    The second country dropdown on the checkout page IS alphabetized.

    I’ve looked at wpsc-shopping-cart-page.php and ajax.php, and the queries for these seem to be sorted by country, rather than by country ID.
    But the list that comes up on that first dropdown is definitely sorting by ID, rather than country name.

    Is there any way I can fix this? The client has gotten complaints that the entry for USA is impossible to find, or doesn’t exist.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Confirming this issue on a client’s site

    WordPress version: 3.9.1
    WP eCommerce version: 3.8.14.1
    Gold Cart version: 2.9.7.3
    Theme: Twenty Eleven 1.8

    Thread Starter Orphic1

    (@orphic1)

    Thanks for posting, nathancbriggs.

    I’ve seen one other instance of this (or something very similar to this)
    in this thread:

    http://wordpress.org/support/topic/only-show-certain-countries-at-checkout

    But so far, not much attention to it otherwise.

    Disabling JavaScript, as suggested in the thread you posted, works on my client’s site too. Odd.

    This snippet from wp-e-commerce/wpsc-core/js/wp-e-ecommerce.js, line 560, looks relevant http://pastebin.com/A4LHYkgG

    I don’t have the time today to dig properly and fix it, but maybe later.

    Thread Starter Orphic1

    (@orphic1)

    I was able to make the incorrect listing go away by setting the “Target Market” settings on the categories to “None”. Once I did that, the listing seems to appear correctly. Hopefully that solution will help some others having this or a similar issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issue with Country dropdown sort order on checkout page’ is closed to new replies.