Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need a modification done to Linda's login box contrib.


toolcrazy

Recommended Posts

Instead of:

 

When you enter the wrong user name or password, you go to the login/signup page.

 

I would like it to refresh the default.php page and insert the words:

 

"You have entered the wrong email and/or password" above the login fields in the login box.

 

I would like to eliminate the login/signup page except when you are purchasing an item then you see it on check out, if you are a new customer or not logged in.

 

I hope I don't have you all confused. I wish I could do this myself, but I don't have the experience with PHP to do it.

 

Any help would be appreciated, Thanks in advance.

Steve

-------------------------

Link to comment
Share on other sites

When you enter the wrong email and/or password now, yes, it does take you to the Loigin/Signup Page, but it also displays the error message that you would like to see.

 

It would seem to me that the invalid email and/or password response already occurs, you just want it to go back to default.php. Find which piece of the code handles the login info challenge/response and page transfer and get it to point elsewhere.

 

Hope this helps!

 

-R

Link to comment
Share on other sites

I've found it not to be that simple. My knowlege of PHP is very limited and I am still trying to figure out the flow of the system. I've figured out enough to be able to get done what I want, but this is beyond me.

 

Thanks for the help.

Steve

-------------------------

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...