Jump to content

Invoice Address issue under CC Admin


aPoLLo

Recommended Posts

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 :)

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...