Customer name being cutoff in customer reg link

General ShopSite user discussion

Customer name being cutoff in customer reg link

Postby jdjackson7 » Fri Nov 28, 2014 4:03 pm

We are using the customer registration link to allow the user to login/out and register from any page on the site. When the customer is logged in, their name is displayed. Unfortunately, the last character of the user's name is being cutoff. We have tested different length's to see if it is an issue with the number of characters, but is seems that it is always the last character.
See these screen captures:
http://qr8.us/image6.JPG
http://qr8.us/image7.JPG
http://qr8.us/image8.JPG


Q. How can I solve this problem?
Thanks
jdjackson7
 
Posts: 20
Joined: Wed Mar 23, 2011 11:21 am

Re: Customer name being cutoff in customer reg link

Postby Jim » Fri Nov 28, 2014 9:24 pm

I saw a report of a problem like that before. What version of ShopSite are you using? Click on the ShopSite at the top of any back office screen and then look in the footer of the page for the version.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Customer name being cutoff in customer reg link

Postby jdjackson7 » Fri Nov 28, 2014 9:49 pm

Pro Version 12 r2
jdjackson7
 
Posts: 20
Joined: Wed Mar 23, 2011 11:21 am

Re: Customer name being cutoff in customer reg link

Postby jdjackson7 » Tue Dec 02, 2014 7:02 pm

Is there any answer to this problem? I am using Pro v12
Thank you
jdjackson7
 
Posts: 20
Joined: Wed Mar 23, 2011 11:21 am

Re: Customer name being cutoff in customer reg link

Postby ShopSite Lauren » Mon Dec 08, 2014 12:22 pm

In your customer registration javascript you will want to change:

name = unescape(cookies.substring(start,end-1));

to


name = unescape(cookies.substring(start,end));


Can you tell me where you got your customer registration javascript code so that I can make sure it is fixed for future users?
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: Customer name being cutoff in customer reg link

Postby jdjackson7 » Mon Dec 15, 2014 12:53 pm

This fix worked. thank you
I got the script from https://spellboundrx.com/cgi-bin/ss/cr_configure.cgi
jdjackson7
 
Posts: 20
Joined: Wed Mar 23, 2011 11:21 am


Return to User Forum

Who is online

Users browsing this forum: No registered users and 108 guests