Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Account details modifying


alexflasher

Recommended Posts

Posted

Hi! Is it possible to change customer details? For example, I need to remove country, postal code, fax from account creation form. May be there is special addon for it?

Sorry for my english...

Posted

I do not know of an add-on for this.

 

The country code is used in delivery and tax calculations so it is not a good idea to remove it.

 

You could set default values and hide the fields.

 

You could stop various fields from being mandatory.

 

Enjoy.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Can you give me some hints on how to set default values and hide the fields? In admin panel I only see:

Gender, Date of Birth, Company, Suburb, State

Sorry for my english...

Posted

I'd add an extra record to the config file for each field to be hidden.

 

Then update create account.php using the code for hiding gender as a template. (There are 5 or 6 places)

 

e.g.

 

if (ACCOUNT_GENDER == 'true') {

if (isset($HTTP_POST_VARS['gender'])) {

$gender = tep_db_prepare_input($HTTP_POST_VARS['gender']);

} else {

$gender = false;

}

}

 

to

 

if (ACCOUNT_FAX == 'true') {

if (isset($HTTP_POST_VARS['fax'])) {

$fax = tep_db_prepare_input($HTTP_POST_VARS['fax']);

} else {

$fax = false;

}

}

 

Take it slowly and do one field at a time and test between each one.

 

Enjoy

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Thank you helping me!

I'd add an extra record to the config file for each field to be hidden.

What is a name of that file, where is it placed and what have you add there? Is it something about:

ACCOUNT_FAX = 'false'

???

Sorry for my english...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...