Page 1 of 1
Default country on Admin side should use store default
Posted: Sat Oct 11, 2008 5:51 pm
by AbleMods
When creating a new order on the admin side or creating a new user on the admin side, the country field should default to the store country and not the first one in the list control.
Re: Default country on Admin side should use store default
Posted: Sat Oct 11, 2008 9:33 pm
by Robbie@FireFold
Big request from my employee's.
Re: Default country on Admin side should use store default
Posted: Sat Oct 11, 2008 11:31 pm
by AbleMods
In the mean time, this will fix it to default the country to United States.
Edit the ~/Admin/People/Users/AddUserDialog.ascx file.
Find this code:
Code: Select all
// SAVE USER AND DISPLAY CONFIRMATION
newUser.Save();
and replace it with this code:
Code: Select all
// SAVE USER AND DISPLAY CONFIRMATION
newUser.PrimaryAddress.CountryCode = "US";
newUser.Save();
Re: Default country on Admin side should use store default
Posted: Sun Oct 12, 2008 12:03 am
by Robbie@FireFold
Flawless.
A particular girl at work would NOT stop complaining about this. Sent her a nice little email. She will be happy on Monday.
Re: Default country on Admin side should use store default
Posted: Sun Oct 12, 2008 12:05 am
by AbleMods
Is she hot and/or single?
Re: Default country on Admin side should use store default
Posted: Sun Oct 12, 2008 12:08 am
by Robbie@FireFold
I can't comment on the hot part. As I have a significant other at FireFold
.
She is single though. I think your the coder of her dreams.
Re: Default country on Admin side should use store default
Posted: Thu Feb 12, 2009 1:59 pm
by compunerdy
This is fixed as of 7.0.2
Re: Default country on Admin side should use store default
Posted: Thu Feb 12, 2009 9:18 pm
by AbleMods
Damn - cross off (yet) another future Ex Mrs. Payne