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

adding registration fields

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-05-2007, 08:00 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default adding registration fields

Hi

i want to a "company name" field to the shipping section of the registration form, does anyone know how to do this?

thanks
__________________
Using x cart 4.0.19
Reply With Quote
  #2  
Old 11-05-2007, 10:04 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: adding registration fields

General Settings/User Profiles options. Add fields using the boxes at the bottom.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 11-06-2007, 01:23 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default Re: adding registration fields

Hi

thanks for the reply, is there a way to get the addition field near the top of their respective section? i set the position of the field as 1 but it is appearing below all the other default fields.

my additional field is Company Name, so this needs to appear before "Address."


thanks
__________________
Using x cart 4.0.19
Reply With Quote
  #4  
Old 11-06-2007, 04:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: adding registration fields

Correct, if you have a look at skin1/main/register_shipping.tpl, you'll see that the 'additional' fields include is at the bottom. Simply move it to where you want the field in the template.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 11-08-2007, 02:06 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default Re: adding registration fields

hi

i dont have a register_shipping.tpl file, i only have register_shipping_address.tpl and register_additional_info.tpl. i have looked in both files and it is not clear what code i must move?

at the bottom of register_shipping_address.tpl there is an includes statement :
{include file="main/register_additional_info.tpl" section="S"}, does this mean the addtional fields are pulled in from another file (register_additional_info.tpl)? if so do i just move the includes statement?

Please could you advise me further.

thanks
__________________
Using x cart 4.0.19
Reply With Quote
  #6  
Old 11-08-2007, 03:52 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: adding registration fields

It is register_shipping_address.tpl. You move the include to where you want it to appear in the code.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 11-08-2007, 05:03 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default Re: adding registration fields

Hi

thanks for the reply, i had to update the individual files, i have added company name to the registration form, this appears in the billing and shipping details. currently if the billing and shipping details then the user does not have to enter them twice, he/she just has to fill out the billing details. the additional field (Company Name) is not being copied over to the shipping details, do you know how to do this?

thanks
__________________
Using x cart 4.0.19
Reply With Quote
  #8  
Old 11-08-2007, 05:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: adding registration fields

The additional fields will not be copied over, that only works for the default fields I'm afraid.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 11-08-2007, 05:11 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default Re: adding registration fields

so just to confirm there is no way of doing this (without x cart support)?

thanks for all your help
__________________
Using x cart 4.0.19
Reply With Quote
  #10  
Old 11-08-2007, 05:13 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: adding registration fields

So you are looking to add a 'company' field to the shipping address that will be copied from the billing address?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
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 02:46 PM.

   

 
X-Cart forums © 2001-2020