Hi there,
I´ve got this module installed in order to use drupal commerce.
We want our own country to be the only one available. So we´ve selected Argentina as the only country.
But all orders say "Afghanistan". I´ve double checked and Argentina is in fct the only country available at the admin config.
What shoulkd I do?
Thanks!
Rosamunda

CommentFileSizeAuthor
#1 Address settings.png14.42 KBrajarju
#1 Address Default.png8.78 KBrajarju

Comments

rajarju’s picture

StatusFileSize
new8.78 KB
new14.42 KB

So i believe you have made these selections in the field settings

Address Settings

Default Settings

Rosamunda’s picture

Yes, those are my selections indeed.
In fact, Argentina does appear at the preview pane also.

rszrama’s picture

Version: 7.x-1.0-beta3 » 7.x-1.x-dev
Category: bug » support
Status: Active » Postponed (maintainer needs more info)

I'm thinking you had previously selected Afghanistan as the default country before updating to Argentina at the same time as you restricted addresses to only use Afghanistan. That's the only way I know it could be accidentally selecting Afghanistan, and I believe I just committed a patch to stop that. Can you also confirm that your site has been set to use Argentina as the default country in your regional / language settings? And can you go resave the field settings form to ensure it has Argentina saved as the default country? You might need to disable that "hide the country select list" checkbox in order to update the default country value.

rszrama’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ahh, I was just doing some manual tinkering with an address field value, and I realized that it initializes to Afghanistan if you don't have a site default country set yet. Go to your regional / language settings and select Argentina as the site default. That should fix any lingering issue.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.