Forums / General Questions / export email, ip address and date stamp

export email, ip address and date stamp

Locked

Views: 882

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Oct 2009, 8:23 PM
#1
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

export email, ip address and date stamp

I need to somehow get a spreadsheet with all of our customers for the following fields: email, ip, date stamp.

anyone know how to do this? I don't know if there is anything built into the admin to do it, so maybe it will work in phpmyadmin - but I am unsure the exact query to pull this info and also what the exact DB fields are.

Thanks!

MonkFunk Music Community
Free Music Website

23 Oct 2009, 9:49 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: export email, ip address and date stamp

Why ?

IP addresses aren't stored as part of customer details.
Date stamps stored may not be the same as what you're "wanting", but since you didn't explain why, it's hard to tell you whether you can have it or not.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Oct 2009, 2:06 AM
#3
keylesslocks avatar

keylesslocks

Zen Follower

Join Date:
May 2007
Posts:
267
Plugin Contributions:
0

Re: export email, ip address and date stamp

I want to do it because we have 33,000+ customers that I want to email, but don't want to email them from our server.

I wanted to import them into our getresponse account, but they require ip and datestamp, otherwise they will send a confirmation to every email, which I would rather not do.

I see the IP is in the order emails, but it isn't saved, so I am unsure how to get it all

MonkFunk Music Community
Free Music Website

24 Oct 2009, 5:24 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: export email, ip address and date stamp

I guess you could pull the ip_address and date_purchased and customers_email_address from the orders table, and that would give you the details of customers who have bought something at least once. If you want details of customers including those who've not made a purchase, you can pull the customers_email_address from the customers table and the last_login_date from the customers_info table, but skip the IP address. You might give some consideration to whether the customer has elected to be included in your newsletter mailings as part of their account preferences, as reflected as a "1" in the customers_newsletter field of the customers table

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.