Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Registration Form


GuernseyComponents

Recommended Posts

Posted

Hi,

 

Me again! :)

 

How can I edit the text on the registration form? I can remove fields, but can't seem to edit the text.

 

For example, how can I change "Street Address" to "Address Line 1"?

 

Thanks,

 

Dominic

Posted

The text on all the site is contained in the files in catalog/includes/languages/english (or whatever language you use) so that file would be catalog/includes/languages/english/create_account.php

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Nice one @@Mort-lemur and even better that you don't give the exact code to change but expect the user to have a look and do it themselves. I like that very much. Give a man a fish and all that.

Posted

@@burt I learnt from a Grumpy Old Master ;)

 

But do we really have to give free fish as well?? (w00t)

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Heather please (!)

 

Vanquisher of Demons

 

Regards

Joli

To improve is to change; to be perfect is to change often.

 

Posted

The text on all the site is contained in the files in catalog/includes/languages/english (or whatever language you use) so that file would be catalog/includes/languages/english/create_account.php

 

It doesn't seem to be that file. That file doesn't contain anything on the registration form:

 

<?php

/*

$Id$

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Create an Account');

 

define('HEADING_TITLE', 'My Account Information');

 

define('TEXT_ORIGIN_LOGIN', '<font color="#FF0000"><small><strong>NOTE:</strong></small></font> If you already have an account with us, please login at the <a href="%s"><u>login page</u></a>.');

 

define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME);

define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");

define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n");

define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

define('EMAIL_WELCOME', 'Thanks for registering at ' . STORE_NAME . '.' . "\n\n");

define('EMAIL_TEXT', 'You can now use these log-in details to place new orders and manage your account. From your account, you will be able to view your order history, email customer support, view your address book and manage your account details.' . "\n\n");

define('EMAIL_CONTACT', 'If you reqeuire any assistance, please send an email to [email protected] ' . '.' . "\n\n");

define('EMAIL_WARNING', '<strong>Note:</strong> This email address was given to us by one of our customers. If you did not signup to be a member, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");

?>

 

 

Basically, I want to rename Street Address to Address Line 1 and make a few other changes on the create account form.

Posted

@@GuernseyComponents

 

My Bad: catalog/includes/languages/english.php

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

Thanks!

 

Another thing, I've managed to make a field not required on the registration form, but it seems to show it as required in the administration area - is there any way to fix that as in the admin/includes/languages/english/english.php file it's not in the same place it seems (there are no ENTRY_VALUE_TEXT fields)?

 

And finally, is there any way to change the variable names in the config files? For example, I changed ENTRY_SUBURB to say "Address Line 2" instead of "Suburb" but I'm not sure how to change the variable name? Not a big issue but I want to keep things neat and tidy.

Posted

Thanks!

 

Another thing, I've managed to make a field not required on the registration form, but it seems to show it as required in the administration area - is there any way to fix that as in the admin/includes/languages/english/english.php file it's not in the same place it seems (there are no ENTRY_VALUE_TEXT fields)?

 

And finally, is there any way to change the variable names in the config files? For example, I changed ENTRY_SUBURB to say "Address Line 2" instead of "Suburb" but I'm not sure how to change the variable name? Not a big issue but I want to keep things neat and tidy.

 

Any ideas on the above?

 

Regards,

 

Dominic

Archived

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

×
×
  • Create New...