View Single Post
  #5  
Old 01-26-2011, 11:13 AM
  bullfrog's Avatar 
bullfrog bullfrog is offline
 

eXpert
  
Join Date: Oct 2004
Location: Oregon, USA
Posts: 366
 

Default Fixed address book settings? Bad X-Cart

Oh, this is bad.

I'm upgrading a wholesale site, and in my old X-Cart I added fields needed for the customer to apply for wholesale status and I required a company name.

Now there is no company name option, and COMPANIES ARE ALL I SELL TO!

My short term fix is to rename the Address 1 line to Company/Address or something like that.

I may also rename the county field.

EDIT:
Even though I have made the 'county' field mandatory in the Address Book settings, it is still not showing up in the customer popup box. I edited common_files/customer/main/address_fields.tpl, common_files/customer/main/address_details_html.tpl, and common_files/main/address_fields.tpl to reorder 'county' to appear before 'address1'. So far, I see no changes.

It seems that 'county' would normally not appear in the customer's address popup. The 'fax' field does, so now I will re-edit the above files to see if I can get 'fax' moved up to be after 'last name'.

EDIT2:
When I edited common_files/customer/main/address_fields.tpl to have the 'fax' field move to where a 'company' field would normally be (before 'address1'), that made the 'fax' field move.

So it looks like 'fax' may be the workaround for the missing 'company name' field until I find out how to actually add the real company name field to the popup. I will rename 'fax' to be 'company', and rename 'company' to something else (to avoid confusion) and disable it as an active field.

For the existing customer info I have, I will use Navicat to copy Company names from the old store to the Address Book's 'fax' field.
__________________
Bullfrog ~~~ X-Cart Gold v4.7.2 (2) v4.7.8. ⌠If the road is easy, you're likely going the wrong way.■ ― Terry Goodkind
Reply With Quote