Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

create account vs. login on index page


kuai

Recommended Posts

I'm still developing my store and made this change in the languages/english.php file. NOW when you click on the "login" on the index(main) page, you go to the login page.The change works fine but I was wondering about the "SSL" secure socket layer part of it in the link. When clicking on "create an account" on the index page, I was taken to the "login" page but when clicking on "login", I was taken to the "My Account Info" page for a new customer which I thought was pointless for a returning customer because you had to click on the "login page" at the NOTE: on the "My Account Info" page to get back to the login page. I hope that made sense. I studied the catalog/login file and made the link from it. I don't know anything about programming. I was just looking for a solution and yes I made a backup of the english.php file just in case.

 

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

 

was changed to:

 

define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Friends!</span> If you are new to our website, feel free to browse or you can <a href="%s"><u>create an account</u></a>, and if returning, you can <a href="' . tep_href_link(FILENAME_LOGIN, '', 'SSL') . '"><u>log in</u></a>.');

 

I just needed some feedback on this before the site goes live.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...