Print Page | Close Window

Login Box Problem

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2003
Printed Date: 21-July-2025 at 7:59pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Login Box Problem
Posted By: BYRSC
Subject: Login Box Problem
Date Posted: 26-September-2008 at 11:58am
I created a login box with the instructions given in the PC manual, but when I enter the username and password, it takes me to the login page with this message:

The e-mail address you provided already exists in our database. Please use another e-mail address to register or use the password reminder tool to retrieve the password associated with this email account.

Can anyone help me?

Here is the code I used according to what the PC manual said:

<!-- START Logins -->
                <div id="pcLeftheaders"><h3>Customer Account:</h3></div>
                <div id="pcCustomerLogin">
                <ul id="BrandLinks">
                            <%
                                ' If the customer is not logged in
                                ' show login.
                                if session("idCustomer")="0" or session("idCustomer")="" then
                            %>
                           
                           
                            <form name="login" method="post" action="checkout.asp?cmode=1">
                                <div align="left">E-mail: 
                                  <input type="text" name="LoginEmail">
                                Password
                                <input type="password" name="LoginPassword">
                                <input name="PassWordExists" type="hidden" value="yes">
                                <br>
                                <a href="JavaScript:document.login.submit();"><img src="../../images/login.gif" width="84" height="24" border="0"></a>
                                <input type="hidden" name="submitCO.y" value="1">
                                </div>
                  </form>

                           
                               
                            <% else
                                ' Otherwise show the customer service links    %>
                                <li><h3><a href="custPref.asp">Account Home</a></h3></li>
                                <li><h3><a href="CustviewPast.asp">Previous Orders</a></h3></li>
                                <li><h3><a href="login.asp?lmode=1">Billing Address</a></h3></li>
                                <li><h3><a href="CustSAmanage.asp">Shipping Addresses</a></h3></li>
                            <%
                                ' If the Wish List feature is active, show a link to it
                                    if (scWL="-1") or ((scBTO=1) and (iBTOQuote=1)) then
                            %> 
                                    <li><h3><a href="Custquotesview.asp">Saved Products</a></h3></li>
                                <% end if %>
                            <li><h3><a href="CustLO.asp">Log Out</a></h3></li>
                        <% end if %>
                        </ul></div>



Replies:
Posted By: islandinstitute
Date Posted: 21-October-2008 at 7:59pm
I have this same issue - does anyone have an answer?


Posted By: Matt
Date Posted: 21-October-2008 at 11:46pm
Use "YES".

<input name="PassWordExists" type="hidden" value="YES">


Posted By: BYRSC
Date Posted: 22-October-2008 at 7:41am
That did the trick.

Thank You!


Posted By: islandinstitute
Date Posted: 22-October-2008 at 9:26am

I'm still having this issue. If I have my action checkout.asp?cmode=1 it says that my email address is already registered try something else. If I change it to have the action link to be checkout.asp?cmode1 as it says to do for upgrades, it goes to a page states my cart is empty, but it never really logs me in.

I appreciate any help you can offer.
Thanks!


Posted By: Matt
Date Posted: 22-October-2008 at 11:26am
Hi islandinstitute, you should not change the form action in the example.  Just cut and paste the code directly from the wiki.  It will work on a ProductCart store that has not been modified.  Do not change the case of the text or the layout until you have it working.  After you have it working you can start making the example look more like your store.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net