aPoLLo Posted March 4, 2008 Share Posted March 4, 2008 Hi yia all. I have a recent issue with my CC admin panel when viewing my Customers under: Customers View Customers Email Customers Orders Instead of displaying the Invoice address with the country name on the end, it displays the country code (see example below): 111 Test Street, Testville, VIC, 3000, 13 I am using CC 3.0.16 with heaps of mods. I would appreciate someone's help to fix this one. Cheers & thanks in advance. aPoLLo :) Quote Link to comment Share on other sites More sharing options...
aPoLLo Posted March 4, 2008 Author Share Posted March 4, 2008 Hi again folks. Found the naughty line of code that caused the problem. It was located in the /customers/index.php file. Just changed the code from: if(!empty($results[$i]['country'])) echo $results[$i]['country']; to: if(!empty($results[$i]['country']))echo countryName($results[$i]['country']); Hope it helps others at some point. aPoLLo :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.