Revindex Storefront will default to the user profile's country if available. Starting with Storefront 9.0 and above, you can easily configure the default country under Configuration > General settings. If no default country is set, it will use the default country set under the DNN Profile properties. It will also default to the state/region if the user has state/region saved in his DNN profile. Otherwise, the state/region is listed alphabetically.
For older Storefront, you can follow the steps below to configure the default DNN profile country.
For DNN 7.3 and below, to set the default country, go to your Admin > User Accounts page and click on Manage Profile Properties and select Country. For example, set the Default Value = "US" for United States without the quotes.
For DNN 7.4 and higher, to set the default country, you must first obtain the EntryID number from the database by performing a SQL query. You can issue the query from the Host > SQL page as superuser.
SELECT EntryID, [Text] FROM Lists WHERE ListName = 'Country' ORDER BY [Text]
Take note of the EntryID number for your desired country. Go to your Admin > Site Settings page and look under Profile Settings and select Country. For example, set the Default Value to "221" for United States without the quotes.
Powered by Revindex Wiki