Hi
I have set up a customer registration template based on the Awesome Orange template. It mostly is working as expected, however, for some reason when the user logs in the status in the the top right of the page doesn't change to show that the user has logged in. When you leave the page to go to the cart the status changes to show the user name and log out, but when you navigate back to the customer registration section it changes back to the default "click here to sign in" message.
It seems like my customer registration will set the site up to remember what is happening with your log in, but it won't display it for some reason.
https://slate.secure-host.com/cgi-eviee ... l_reg=html[/url]
Customer registration template log in info
-
- Posts: 31
- Joined: Mon Mar 12, 2007 12:41 pm
-
- Posts: 31
- Joined: Mon Mar 12, 2007 12:41 pm
I hard coded the URLs
What are the shopsite tags I should be using?
What are the shopsite tags I should be using?
Code: Select all
if (signed_in != -1) {
document.write("<br>");
document.write("•<a href=\"http://www.evieevan.com/cgi-evieevan/sb/order.cgi?func=3&storeid=*14597e3cba8e41370f24a561&html_reg=html\" class=\"redlink10\">View/Edit Account</a>");
document.write("<br>");
document.write("• <a href=\"http://www.evieevan.com/cgi-evieevan/sb/order.cgi?func=4&storeid=*14597e3cba8e41370f24a561&html_reg=html\" class=\"redlink10\">Sign Out</a>");
document.write("<br>");
}
else
{
document.write(" <span class=\"smwhitetxt\">- You are no longer signed in</span><br>");
}
}
}
if (signed_in == -1) {
document.write("<span class=\"smwhitetxt\">New Customer?</span> <a href=\"http://www.evieevan.com/cgi-evieevan/sb/order.cgi?func=1&storeid=*14597e3cba8e41370f24a561&html_reg=html\" class=\"redlink10\">Click here to Register</a>");
document.write("<br>");
document.write("<span class=\"smwhitetxt\">Returning Customer?</span> <a href=\"http://www.evieevan.com/cgi-evieevan/sb/order.cgi?func=2&storeid=*14597e3cba8e41370f24a561&html_reg=html\" class=\"redlink10\" >Click here to Sign In</a>");
document.write("<br>");
jb
-
- Site Admin
- Posts: 4953
- Joined: Fri Aug 04, 2006 1:42 pm
- Location: Utah
[-- RegistrationSignIn --] on store pages
[-- SC_Registration --] on shopping cart screen
I don't know which will work on the registration screens themselves.
There are other tags that give various text strings related to registration and the customer name and login status.
[-- SC_Registration --] Links to register or sign in. (Also IF)
[-- SignedIn? --] True if the customer is signed in
[-- SC_Must_Register --] True if the customer must be registered to check out
[-- RegisteredName --] Customer's name if signed in
[-- RegistrationSignIn --] Customer Registration Sign in/Register links
[-- STORE.NewCustomer --] text: New Customer?
[-- STORE.ToRegister --] text: Click here to register
[-- STORE.RetCustomer --] text: Returning Customer?
[-- STORE.ToSignIn --] text: Click here to sign in
[-- STORE.ViewEdit --] text: View/Edit account
[-- STORE.SignOut --] text: Sign out
See also the section for Customer Registration Tags on
http://www.shopsite.com/help/10.0/en-US ... et.cr.html
[-- SC_Registration --] on shopping cart screen
I don't know which will work on the registration screens themselves.
There are other tags that give various text strings related to registration and the customer name and login status.
[-- SC_Registration --] Links to register or sign in. (Also IF)
[-- SignedIn? --] True if the customer is signed in
[-- SC_Must_Register --] True if the customer must be registered to check out
[-- RegisteredName --] Customer's name if signed in
[-- RegistrationSignIn --] Customer Registration Sign in/Register links
[-- STORE.NewCustomer --] text: New Customer?
[-- STORE.ToRegister --] text: Click here to register
[-- STORE.RetCustomer --] text: Returning Customer?
[-- STORE.ToSignIn --] text: Click here to sign in
[-- STORE.ViewEdit --] text: View/Edit account
[-- STORE.SignOut --] text: Sign out
See also the section for Customer Registration Tags on
http://www.shopsite.com/help/10.0/en-US ... et.cr.html