surrfman Posted November 1, 2012 Posted November 1, 2012 Have searched the forums and came up with a myriad of solutions.. tried a couple, got no result. How would a country be set to be the default when setting up a new account or when supplying information to a guest account with a version 2.3.1 store? Using the "consolidated_logon_with_guest_checkout" addon, which eliminates the create_account.php file. I know the country code is 223 Thanks a bunch, Timmy C
♥14steve14 Posted November 1, 2012 Posted November 1, 2012 In 2.3.3 in your creare_account.php file look for <td class="fieldKey"><?php echo ENTRY_COUNTRY; ?></td> The next line down alter to <td class="fieldValue"><?php echo tep_get_country_list('country','222') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> Replace the 222 to 223. I hope this helps REMEMBER BACKUP, BACKUP AND BACKUP
surrfman Posted November 1, 2012 Author Posted November 1, 2012 Figured it out! create_account.php is now part of login.php, found the code and made the change! Thanks Steve, you pointed me in the right direction! Timmy C
Recommended Posts
Archived
This topic is now archived and is closed to further replies.