Login or Sign Up
Logging in...
Remember me
Log in
Forgot password or user name?
or
Sign Up
Log in with
Search in titles only
Search in Layout Adjustments & Changes only
Search
Advanced Search
Forums
Today's Posts
New Topics
FAQs
Knowledge Base
Sellerdeck website
Customer Portal
Service Status
Member List
Forum
Setting Up Sellerdeck
Layout Adjustments & Changes
Announcement
Collapse
No announcement yet.
Getting customer email from cookie
Collapse
X
Collapse
Posts
Latest Activity
Search
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
cornishpirate
Registered User
Join Date:
Nov 2007
Posts:
35
#1
Getting customer email from cookie
23-Nov-2007, 03:42 PM
If a customer has previously checked out with "Remember Me", the email address is stored, presumably in a cookie.
How can I get at it?
leehack
Moderator
Join Date:
Nov 2005
Posts:
15198
#2
23-Nov-2007, 03:45 PM
Cookie is on their machine you can't get to that, you should have their email address on the order details.
Website Designed Tamworth, Staffordshire
-
SellerDeck Templates
&
SellerDeck Tutorials
Comment
Post
Cancel
los_design
Registered User
Join Date:
Mar 2006
Posts:
1921
#3
23-Nov-2007, 03:46 PM
Originally posted by
cornishpirate
If a customer has previously checked out with "Remember Me", the email address is stored, presumably in a cookie.
How can I get at it?
no access dude, check the order
Affordable solutions for busy professionals.
Website Maintenance
|
UK Web Hosting
Comment
Post
Cancel
cornishpirate
Registered User
Join Date:
Nov 2007
Posts:
35
#4
23-Nov-2007, 03:53 PM
If Checkout Page 1 can get it, why can't a Product Page?
Comment
Post
Cancel
los_design
Registered User
Join Date:
Mar 2006
Posts:
1921
#5
23-Nov-2007, 04:03 PM
Originally posted by
cornishpirate
If Checkout Page 1 can get it, why can't a Product Page?
Hi Alan
Can you clarify what exactly you are after please?
Affordable solutions for busy professionals.
Website Maintenance
|
UK Web Hosting
Comment
Post
Cancel
cornishpirate
Registered User
Join Date:
Nov 2007
Posts:
35
#6
23-Nov-2007, 04:07 PM
Yes - I am checking for an Out Of Stock condition on a Product Page. If one exists, I will give him an option to have an email sent when stock is in. If he has ordered before, then I'd rather not make him re-enter his email address.
Comment
Post
Cancel
NormanRouxel
Registered User
Join Date:
Dec 2002
Posts:
11268
#7
23-Nov-2007, 04:51 PM
Put the following into a Fragment or Product description
Code:
!!<<script>document.write(document.cookie);</script>>!!
And you'll be able to see what's in the site cookie when viewing that page.
Norman -
www.drillpine.biz
Edinburgh, U K
/ Bitez, Turkey
Comment
Post
Cancel
cornishpirate
Registered User
Join Date:
Nov 2007
Posts:
35
#8
27-Nov-2007, 02:11 PM
Norman
Thanks - that sure shows it, but some challenging decoding needed!
I realise now that the Check Out page gets the email via it's Perl script - so I guess I could make a mini version of that - even more challenging.
Alan
Comment
Post
Cancel
NormanRouxel
Registered User
Join Date:
Dec 2002
Posts:
11268
#9
27-Nov-2007, 04:09 PM
There's a
getCookie
routine already loaded and waiting for you in actiniccore.js.
Norman -
www.drillpine.biz
Edinburgh, U K
/ Bitez, Turkey
Comment
Post
Cancel
cornishpirate
Registered User
Join Date:
Nov 2007
Posts:
35
#10
27-Nov-2007, 11:56 PM
Thanks, Norman.
That gets me the full Cookie. I'll try to extend it to extract the EMAIL= value from it and post more info here. Hopefully this year!
Alan
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
X
Comment