Washington DC

in Help edited August 2013
Not sure what to do here. Client wants Washington DC to be orderable, but they previously told us only US. So we've been using this code:
var usIndex = -1;
 for (var i = 0; i < FC.locations.config.locations.length; i++) {
 if (FC.locations.config.locations[i].cc2 == "US") {
 usIndex = i;

Any ideas?
  • brettbrett FoxyCart Team
    @bdcadvertising, can you whisper me what account (domain) this is for? Thanks.
  • fc_adamfc_adam FoxyCart Team
    @bdcadvertising -

    Sorry, I'm a little confused - what do you want to achieve? Only orderable from Washington DC?
  • Well, the client originally told us they wanted US only as a country. Now they want other things, like Washington DC and others to show up. Basically, I'm not sure how to add to this to get the desired result with other known country codes.

    I'm more of a backend guy...this is all front end, and I couldn't seem to get it to work, so wondered if you guys could get me pointed in the right direction.
Sign In or Register to comment.