VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 personalized greeting
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP New User

82 Posts

Posted - August 29 2005 :  14:40:17  Show Profile  Visit bwalz's Homepage  Reply with Quote
I am looking at creating a site that will not sell to the general public so the users have to login to see the store. The client wants it personalized when they login. For example putting a message such as:

"Welcome back mike from Such and Such Company"

Any one know how to pull this off?


VP-ASP New User

113 Posts

Posted - August 30 2005 :  09:33:29  Show Profile  Reply with Quote
Hi bwalz,

I wanted to do the same thing a few days ago. I'm not sure if there is any better way, but I found the following worked for me:

1. edit shopcustadminlogin.asp (about line #32) ....
 If GetSess("Customerid")<>"" and Getsess("Lastname") <>"" then
If getsess("Customerlogincid")="" then
SetSess "CustomerLoginCID",Getsess("Customerid")
msg=getlang("langLoginSuccessful") & " " & Getsess("firstname") & " " & Getsess("lastname") 'RW-29.08.2005 ~ added welcome personalisation
end if
responseredirect "shopcustadmin.asp?msg=" & server.urlencode(msg)
end if

See where the msg gets formatted. I added to this with the customers firstname and lastname. There are many other session variables that you can use (these are available when the customer logs in). A list can also be seen with diag_sessionlist.asp.

2. In addition to this, you need to edit the languages table. Find the keyword "langloginsuccessful" and you edit the caption to what ever you like to preface the customers names above. i.e "Login successful, Welcome back, ".

As the languages are loaded at VP-ASP's initialisation, I found it necessary to re-start your pc for them to reload.

I hope this helps..


Go to Top of Page

Starting Member

18 Posts

Posted - January 12 2006 :  04:56:29  Show Profile  Reply with Quote
ok this works fine!

but when the customers are autmatically logged in via cookie they dont end up here. the end up on default.asp.

so I added most of it on the default.asp as well, in the <h1> welcome title. works fine, thanks,

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000