Desparately seeking Registration link

General ShopSite user discussion

Desparately seeking Registration link

Postby Vernontnh » Wed Nov 05, 2008 9:28 am

Can someone please, please help me with this. I've continued to try for yet another hour and can't get the registration link to work.

Thanks.

Vernon
Vernontnh
 
Posts: 59
Joined: Wed Nov 05, 2008 6:50 am
Location: USA

Postby loren_d_c » Wed Nov 05, 2008 1:14 pm

Posting the URL of the page where you have placed the Customer Registration link code would be a good start.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Postby Vernontnh » Wed Nov 05, 2008 3:33 pm

Here's the link:

http://pogapparel.com/shopsite_sc/ss/pr ... 5&page=7#2

The links in question no longer have anything close to what is needed because they never were even close, so I removed them. Referring you to the bar going across the top of the page, the word account should go to a login window. I will then change "log in " to "register" and have that go to a register window.

Thanks for any help you can give me.

Vernon
Vernontnh
 
Posts: 59
Joined: Wed Nov 05, 2008 6:50 am
Location: USA

Postby loren_d_c » Wed Nov 05, 2008 3:37 pm

Sorry, that link is to the Preview function, it prompts for login for your ShopSite. We can't see that.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Postby Vernontnh » Wed Nov 05, 2008 3:48 pm

And I can't see any other way to publish. It's not like I haven't a clue what I am doing here. This interface is anything but intuitive. I pressed the publish button. It said it published. So why isn't it published. It seems I have to read 30 pages of documentation for every move on this cart. It's powerful, but really hard to learn.
Vernontnh
 
Posts: 59
Joined: Wed Nov 05, 2008 6:50 am
Location: USA

Registration Link

Postby BFChris » Thu Nov 06, 2008 8:15 am

Remember, the registration link is a Javascript code (because the actual text content changes depending on if the person is logged in or not.)

Also, I don't think Loren was saying that your pages weren't necessarily published. What he is saying is that the link you provided for us to view is not a link to the live page, but to the Shopsite backoffice PREVIEW of the page (which others would not be able to see because it would require logging into your Shopsite backoffice.)

Here is the Javascript:

Code: Select all
<script type="text/javascript" language="JavaScript">
function DisplayLogName(name) {
  var cookies=document.cookie;
  var start = cookies.indexOf(name + "=");
  var name = "";
  var start1;
  var end1;
  var tmp;
  var signed_in = -1;

  if (start != -1) {
    start = cookies.indexOf("=", start) +1;
    var end = cookies.indexOf("|", start);
    if (end != -1) {
      signed_in = cookies.indexOf("|yes", start);
      name = unescape(cookies.substring(start,end-1));
      document.write("<b>" + name + "</b>");
      if (signed_in != -1) {
        document.write("<br>");
        document.write("•<a href=\"yoururl.com/sb/order.cgi?func=3&storeid=*yourstoreid&html_reg=html\">View and Edit Your Account</a>");
        document.write("<br>");
        document.write("• <a href=\"http://yoururl.com/sb/order.cgi?func=4&storeid=*yourstoreid&html_reg=html\">Sign Out</a>");
        document.write("<br>");
      }
      else
      {
        document.write(" - You are no longer signed in<br>");
      }
    }
  }
  if (signed_in == -1) {
    document.write("• Haven't registered yet? <a href=\"http://www.yoururl.com/sb/order.cgi?func=1&storeid=*yourstoreid&html_reg=html\">Register (optional)</a>");
    document.write("<br>");
    document.write("• Already Registered? <a href=\"http://www.yoururl.com/sb/order.cgi?func=2&storeid=*yourstoreid&html_reg=html\">Sign In for Quicker Checkout</a>");
    document.write("<br>");
  }
}
DisplayLogName("ss_reg_yournumber");
</SCRIPT>


Note you will have to change the "yoururl" text to the actual path to your CGI files, "yourstoreid" to your actual store ID, and "yournumber" to you Shopsite registration number.

The exact coding of this for your store can be found under Commerce Setup--> Customer Registration-->Configure. Copy and paste the code out of the bottom box on the page.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Postby Vernontnh » Thu Nov 06, 2008 2:42 pm

Thank you Chris:

I will try this. Speaking of Customer Registration, I was trying to do a simple customization of my the pages involved with this. Just wanted to my mast head on it for now. But there are not cookbook directions that I've found, the current available templates are all heavily "include" based, which I really don't know much about, and the ones in the Pro Help section have no javascript involved.

Again, I was just going to use that "Clean..." template and try to customize that a bit. Do you know if there a simple solution for doing what I want to do?

Thanks,

Vernon
Vernontnh
 
Posts: 59
Joined: Wed Nov 05, 2008 6:50 am
Location: USA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 122 guests