Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing customer account fields


siteplanet

Recommended Posts

Posted

Hello,

 

I am trying to redo the create a new account page. All I want to do is re-arrange some fields and what-not....everything says to use the account_details.php file. I can't find this anywhere. Did this change to a different file in the newer snapshots? :oops: Does anyone know what file I'm supposed to be editing?

Posted

I think you need to change this:

create_account_process.php

HTH

Best Regards

olby

Posted

Thanks for the reply,

 

I don't seem to have a creat_account_process

 

I only have create_account and create_account_success.

 

Hmm...

Posted

It's the snapshot from a couple of days ago.

 

lucilue2003, I came here for help because my snapshot seems much different - the only modules directory that I have is inside of /includes and there is no account_details.php.

 

I've also been looking through trying to find the variable that controls the text next to the form fields. For example, I want to change "Post Code" to "Zip Code". I'm not sure how to do this, either.

Posted

The file that actually contains the account fields is in catalog/includes/modules/account_details.php.

 

Both the create_account.php and edit_account.php files call the account_details.php page mentioned above to display and edit the account data.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Posted

Daemonj, I have read in several places that the fields are stored in catalog/includes/modules/account_details.php.

 

However, I do not have that file (the closest thing to it in the modules directory is address_book_details.php), and everything is still working properly, which leads me to believe that it was changed somehow for the current snapshot.

Posted

You have to look in:

catalog/includes/modules to find it.

 

This form is called from different programs through this:

        <td><?php include(DIR_WS_MODULES . 'account_details.php'); ?></td>

Best Regards

olby

Posted

Thanks for all of the help, everyone. However, the file is simply not there.

 

Here is a screenshot of my catalog/includes/modules directory in WSFTP:

directory.gif

 

As you will see, account_details.php is nowhere to be found. However, the account function on my site is working just fine.

 

Something must have changed for this snapshot. Is there any documentation on what is changed with each snapshot? I'll be it's referenced from a different file now. The data must be coming from somewhere.

Posted

Have you looked at cvs?

 

There's is an explanation on each file when it is updated.

Posted

I guess another angle to take here is:

 

I gather your looking to modify the fields at registration.. What do you want to accomplish here? What fields do you want present?

 

Regards,

 

Ryan

Posted

I'm not sure how to get to the CVS, and this is proving to be quite a hassle, so I'm just going to leave the registration fields the way they are until I figure this out.

 

Thanks for all of your help

Posted

You are correct, the catalog/includes/modules/account_details.php file is no longer present and used in the latest CVS version.

 

You will have to edit the catalog/create_account.php and catalog/account_edit.php files to make the necessary changes.

 

That was entirely more difficult than it should have been.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

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

×
×
  • Create New...