Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Add extra fields to Address Book?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-22-2011, 09:49 AM
 
rhu rhu is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 63
 

Default Add extra fields to Address Book?

Hey,

Does anybody know if you can add extra fields to the Address book? I'd like to add an additional Company Name field...

Thanks,
__________________
X-Cart 4.3.0 Gold
Reply With Quote
  #2  
Old 01-22-2011, 02:00 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Add extra fields to Address Book?

NO you can't and QT doesn't want to modify the address book and make it right. I've been asking them to do this since forever, 4.4.2 is out and yet we still have the stupid and ridiculous way of collecting and holding customers personal info.

Search the bug tracker and ideas site for posts in there and ask them to do it
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 01-22-2011, 05:49 PM
 
rhu rhu is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 63
 

Default Re: Add extra fields to Address Book?

Thanks again Steve, I guess customers are just gonna have to use the firstname/lastname fields to let me know their company names...
__________________
X-Cart 4.3.0 Gold
Reply With Quote
  #4  
Old 01-26-2011, 10:41 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. BAD!

See next post. I messed up.
__________________
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
  #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

The following user thanks bullfrog for this useful post:
rvdbogerd (11-21-2011)
  #6  
Old 10-19-2011, 10:29 AM
 
klinetim klinetim is offline
 

Advanced Member
  
Join Date: Oct 2011
Posts: 58
 

Default Re: Add extra fields to Address Book?

Is this still the only workaround? We are wanting to add a company field to the address book also, and I was wondering if we could do anything a little less intrusive than changing the address_fields.tpl file? i.e. add "company" to address_data and not just default_data? Thanks!
__________________
Tim @ K-Line
X-Cart Version 4.4.5
http://klineind.com
Reply With Quote
  #7  
Old 03-23-2012, 09:09 AM
 
pogodog pogodog is offline
 

Member
  
Join Date: Feb 2012
Posts: 19
 

Default Re: Add extra fields to Address Book?

Wow! Boy I got fooled. I would never have used X-cart if I knew I couldn't have "company name" in the address book. I just assumed, silly me! That's a very hard pill to swallow. I'm not very happy right now.
__________________
Version 4.4.5
Reply With Quote
  #8  
Old 03-23-2012, 09:12 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Add extra fields to Address Book?

You can try this

http://forum.x-cart.com/showthread.php?t=62429&highlight=address+book
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
pogodog (03-23-2012)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:04 AM.

   

 
X-Cart forums © 2001-2020