Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

account_history_info.php address is incomplete


bill99

Recommended Posts

Hi there,

 

I have been testing with this contrib for a little while now and things seem to going well. I am seeing correctly formatted UK address everywhere EXCEPT when I am logged in to my account and I select to view my previous orders.

 

On this listing the Country "United Kingdom" is only displaying as "U". I tried making orders with my country set to other values and in all cases it appears that only the first letter of the country is displayed.

 

The module where the order details is displayed I think is:

 

account_history_info.php

 

but I cannot see anything obvious (to me at least :) ) that would cause the country name to be truncated when it is displayed.

 

I'd appreciate any ideas on this one.

 

Thanks,

 

Bill

Link to comment
Share on other sites

This problem had been discussed many times before in the forum. Here's the solution:

 

On general.php, find the tep_address_format function and delete the ['title'] in $address['country']['title'].

 

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

This problem had been discussed many times before in the forum. Here's the solution:

 

On general.php, find the tep_address_format function and delete the ['title'] in $address['country']['title'].

 

Ken

 

Many thanks for the information Ken. I did search the forum but didn't pick up the discussion of this topic.

 

Once again, thanks.

 

Bill

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...