Default country on Admin side should use store default

Post feature requests to this forum and a pre-configured poll will automatically be created for you.
Post Reply

How important is this enhancement to you?

It's a critical enhancement that I must have.
4
36%
It's an important enhancement but others are more critical.
5
45%
I'd like to have it but it's not that important.
2
18%
I'd never use this feature.
0
No votes
 
Total votes: 11

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Default country on Admin side should use store default

Post by AbleMods » Sat Oct 11, 2008 5:51 pm

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Robbie@FireFold
Commodore (COMO)
Commodore (COMO)
Posts: 433
Joined: Wed May 28, 2008 9:42 am
Location: Concord, NC
Contact:

Re: Default country on Admin side should use store default

Post by Robbie@FireFold » Sat Oct 11, 2008 9:33 pm

Big request from my employee's.
Robbie Hodge
General Manager
Robbie@FireFold.com
http://www.FireFold.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Default country on Admin side should use store default

Post by AbleMods » Sat Oct 11, 2008 11:31 pm

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();
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Robbie@FireFold
Commodore (COMO)
Commodore (COMO)
Posts: 433
Joined: Wed May 28, 2008 9:42 am
Location: Concord, NC
Contact:

Re: Default country on Admin side should use store default

Post by Robbie@FireFold » Sun Oct 12, 2008 12:03 am

Flawless.

A particular girl at work would NOT stop complaining about this. Sent her a nice little email. She will be happy on Monday.
Robbie Hodge
General Manager
Robbie@FireFold.com
http://www.FireFold.com

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Default country on Admin side should use store default

Post by AbleMods » Sun Oct 12, 2008 12:05 am

Is she hot and/or single?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Robbie@FireFold
Commodore (COMO)
Commodore (COMO)
Posts: 433
Joined: Wed May 28, 2008 9:42 am
Location: Concord, NC
Contact:

Re: Default country on Admin side should use store default

Post by Robbie@FireFold » Sun Oct 12, 2008 12:08 am

I can't comment on the hot part. As I have a significant other at FireFold :lol:.

She is single though. I think your the coder of her dreams.
Robbie Hodge
General Manager
Robbie@FireFold.com
http://www.FireFold.com

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Default country on Admin side should use store default

Post by compunerdy » Thu Feb 12, 2009 1:59 pm

This is fixed as of 7.0.2

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Default country on Admin side should use store default

Post by AbleMods » Thu Feb 12, 2009 9:18 pm

Damn - cross off (yet) another future Ex Mrs. Payne :P
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Post Reply