Page 1 of 1

Register customers

PostPosted: Thu Aug 25, 2011 3:59 pm
by joediffdez
Is there a way to have customers register with a user name and password so that they don't have to reenter their information every time they make a purchase?

Re: Register customers

PostPosted: Thu Aug 25, 2011 4:47 pm
by ShopSite Lauren
Yes, customer registration is available in ShopSite Pro. You can enable this feature by going to Commerce Setup > Customer Registration.

Re: Register customers

PostPosted: Fri Aug 26, 2011 8:45 am
by joediffdez
Thank you. I've activated the customer registration, how do I add it to the template? I see a list of customer registration tags but I don't understand how to implement it, and I see that there are several other pages that need to be included, how would I have that appear the same as the existing template?

Re: Register customers

PostPosted: Fri Aug 26, 2011 10:43 am
by ShopSite Lauren
With ShopSite built in templates, the customer registration links are automatically added to the shopping cart screen. Some built in templates have the customer registration links on all store pages. If you have custom templates, you will need to make sure that you have the registration tags or full javascript in your template. You can copy and paste the customer registration javascript into your template from the following URL:
http://www.shopsite.com/templates/cookbook/registration-javascript.shtml

For customizing the registration pages, I would suggest using the information found at the following URL:
http://www.shopsite.com/templates/cookbook/tips-customer-registration.shtml

Re: Register customers

PostPosted: Tue Aug 30, 2011 12:57 pm
by joediffdez
I would like to have the sign in/register link on every page, not just the shopping cart. Is this possible?

Re: Register customers

PostPosted: Tue Aug 30, 2011 1:15 pm
by ShopSite Lauren
Yes, you can go to Commerce Setup > Customer Registration > Configure, and copy the JavaScript found on this screen. You can paste this JavaScript where you want it to appear either in your template or on non-ShopSite pages. Note, that this JavaScript uses cookies, so wherever you are adding it, it needs to be on the same URL as your shopping cart so that the cookie can be read.

Re: Register customers

PostPosted: Thu Sep 01, 2011 6:52 am
by joediffdez
ShopSite Lauren wrote:Note, that this JavaScript uses cookies, so wherever you are adding it, it needs to be on the same URL as your shopping cart so that the cookie can be read.


What does this mean? the JS has to be on the shopping cart template as well as any other page that I use it on?

Re: Register customers

PostPosted: Thu Sep 01, 2011 8:13 am
by Jim
I think that what ShopSite Lauren meant is that the domain name for your store pages and the customer registration pages must be the same or the cookie set on one won't be readable by the other. So if your store pages are on mydomain.com and your shopping cart and customer registration pages are at mydomain.myhost.com, then the store pages would not be able to display the signed in user's name and wouldn't know that they were signed in at all. This is because the cookie set by the mydomain.myhost.com when registering cannot be read by the mydomain.com pages. You do not have this problem if you have your own secure certificate and not just use a shared certificate provided by your host.

Re: Register customers

PostPosted: Thu Sep 01, 2011 8:31 am
by joediffdez
so then..having the JS on every page that I want it to be on, and activating it in the shopsite dashboard will activate the registration, correct?

Re: Register customers

PostPosted: Thu Sep 01, 2011 9:33 am
by Jim
As long as your template has the necessary customer registration template tags .

Re: Register customers

PostPosted: Thu Sep 01, 2011 10:52 am
by joediffdez
Ok, I think I got the registration page looking how I want but the some of the subsequent pages, after you register have of all the buttons flush to the left. I don't see why it isn't centered like the rest of the registration pages. For instance the Account Information page, the orders page, together with a dimmed out scroll bar and then I can't select anything, the ship to as well has a scroll bar w/ nothing selectable, It's pretty much a mess. and in Firefox, it's affecting the html/css for my navigation bar, but I don't see it happening in other browsers. :( :cry: :?

Re: Register customers

PostPosted: Thu Sep 01, 2011 12:42 pm
by ShopSite Lauren
If you setup the registration template where you use the default template and just edit the crHeader and crFooter then I would suggest just adding <center> to the end of the crHeader include file and </center> to the beginning of the crFooter include file. I find that as long as your CSS (if you are using an external CSS file) doesn't conflict with it, it aligns everything center in a nice clean way. For buttons, you can upload your own button images then select them by going to Preferences > Store Text > Customer Registration. If you would rather keep them as text buttons and want to style them with CSS, then you will want to view the source on the page and grab the classes. You can then style the buttons with CSS.