Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Welcome Guest!


action012

Recommended Posts

Posted

Hi

 

>"Welcome Guest! Would you like to log yourself in? Or would you prefer to >create an account?"

 

What I would like to do is change the "create a new account" link that is displayed in the Welcome Guest message on the main page to point to the (login.php) file and not the (create_account.php) file.

 

I need to the user there first so they can chose between the two different accounts.

 

I looked in both english.php file and english/index.php but was not able to find anything to edit. :blush:

 

Thanks,

 

Steve

Posted

Close. What you need is in catalog/includes/languages/english.php.

 

Look for this line

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

Have fun! :thumbsup:

Posted

It's best to give people the option - e.g. new customers go to create_account.php and existing customers go to login.php. Just change the text (and links) to:

 

"Welcome. Existing customers please log yourself in. New customers please create an account"

 

Vger

Posted

Thanks, for the help.

 

The main reason that I want to change it was that I have two different signup levels. Free and paid the paid level members receice a 75% discount on products they buy.

 

I over came this problem buy just offering a payment link to upgrade on the signup confirmation page. :D

 

Steve

Archived

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

×
×
  • Create New...