Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2007
    Posts
    4
    Plugin Contributions
    1

    Default using "Email address exporter" to export ALL customers regardless of status

    If you are using the "Email Address Exporter" module, and want to be able to select ALL of your registered customers for export (or design other criteria for download), you can do this by adding records to the database table 'query builder'. There should be 6 entries. Add a row as shown below. It will then show up as an option when you do 'TOOLS'-'EXPORT EMAIL ADDRESSES'


    'query_string' = 'select c.customers_email_address, c.customers_lastname, c.customers_firstname from TABLE_CUSTOMERS c GROUP BY c.customers_email_address order by c.customers_lastname, c.customers_firstname ASC'

    'query_id' = NULL

    'query_category' = email,newsletters

    'query_name' = All registered customers (Regardless of subscription status)

    'query_description' = All registered customers.

    hope this is useful for someone else!

    jeff

  2. #2
    Join Date
    Jan 2006
    Location
    Slovenia
    Posts
    30
    Plugin Contributions
    0

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    Where do can i find this code to change, i looked everywhere but didnt find anything to change.

  3. #3
    Join Date
    Mar 2006
    Location
    Rosebud, Victoria, Australia
    Posts
    310
    Plugin Contributions
    2

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    I think you have to add those values into the database table 'query builder'. I suspect no code changes are required.

    It would be handy if someone could build the text that could be used with SQL Query Executor, to make things simpler.

    Cheers, Llloyd Borrett.
    Zen Cart 1.5.5e, PHP 5.3.29 MySQL 5.5.42

  4. #4
    Join Date
    Jan 2004
    Posts
    66,385
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    What was posted above is exactly what you would put in if you were using phpMyAdmin to add an extra record to the table. Just fill in the blanks with the info posted.
    .

    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.

  5. #5
    Join Date
    Oct 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    Here is how to easily add this feature:

    From the store Admin, go to Tools, Install SQL Patches.

    Paste in this code. Replace "databasename" with your actual database name:


    Code:
    INSERT INTO  `databasename`.`query_builder` (
    `query_id` ,
    `query_category` ,
    `query_name` ,
    `query_description` ,
    `query_string` ,
    `query_keys_list`
    )
    VALUES (
    'auto-increment',  'email,newsletters',  'All registered customers (Regardless of subscription status)',  'All registered customers.', '''select c.customers_email_address, c.customers_lastname, c.customers_firstname from TABLE_CUSTOMERS c GROUP BY c.customers_email_address order by c.customers_lastname, c.customers_firstname ASC''',  ''
    );

    Click Send. The new export ability should now be added.

  6. #6
    Join Date
    Oct 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    CORRECTION:

    Slight error in my original code. This should work:



    From the store Admin, go to Tools, Install SQL Patches.

    Paste in this code. Replace "databasename" with your actual database name:


    Code:
    INSERT INTO  `databasename`.`query_builder` (
     `query_id` ,
     `query_category` ,
     `query_name` ,
     `query_description` ,
     `query_string` ,
     `query_keys_list`
    )
    VALUES (
     'auto-increment',  'email,newsletters',  'All registered customers (Regardless of subscription status)',  'All registered customers.', 'select c.customers_email_address, c.customers_lastname, c.customers_firstname from TABLE_CUSTOMERS c GROUP BY c.customers_email_address order by c.customers_lastname, c.customers_firstname ASC',  ''
    )

    Click Send. The new export ability should now be added.

  7. #7
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    Tried inserting code into SQL Patches but got "Fail".
    I did change the databasename to my actual database name where Zen Cart is installed.

    Can someone help? Looking to download all email addresses.

  8. #8
    Join Date
    Jan 2010
    Posts
    189
    Plugin Contributions
    1

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    Hi,

    How about trying Apsona ShopAdmin, a free product? You can download email addresses and then export them into a CSV. You can sign up for a free account on apsona.com.

    Hope this is helpful.
    Apsona

  9. #9
    Join Date
    May 2008
    Posts
    37
    Plugin Contributions
    0

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    Quote Originally Posted by apsona View Post
    Hi,

    How about trying Apsona ShopAdmin, a free product? You can download email addresses and then export them into a CSV. You can sign up for a free account on apsona.com.

    Hope this is helpful.
    Apsona

    no worries. Figured it out via another thread. Thanks!

  10. #10
    Join Date
    Mar 2006
    Posts
    194
    Plugin Contributions
    0

    Default Re: using "Email address exporter" to export ALL customers regardless of status

    Quote Originally Posted by bdekraker View Post
    CORRECTION:

    Slight error in my original code. This should work:



    From the store Admin, go to Tools, Install SQL Patches.

    Paste in this code. Replace "databasename" with your actual database name:


    Code:
    INSERT INTO  `databasename`.`query_builder` (
     `query_id` ,
     `query_category` ,
     `query_name` ,
     `query_description` ,
     `query_string` ,
     `query_keys_list`
    )
    VALUES (
     'auto-increment',  'email,newsletters',  'All registered customers (Regardless of subscription status)',  'All registered customers.', 'select c.customers_email_address, c.customers_lastname, c.customers_firstname from TABLE_CUSTOMERS c GROUP BY c.customers_email_address order by c.customers_lastname, c.customers_firstname ASC',  ''
    )

    Click Send. The new export ability should now be added.
    The code is missing a semi-colon at the end. I added one and it worked for me. Gave me the choice to download ALL customers. Thanks.
    TheWindCutter.com
    Professional Microphone Windscreens
    Got wind noise? We've got you covered.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. "Email Address (sent FROM)" wants only an email address
    By drziegler in forum General Questions
    Replies: 1
    Last Post: 26 Oct 2012, 05:36 PM
  2. Email Address Exporter - How can I export the email addresses of every customer?
    By SpencerW in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 14 Oct 2011, 07:35 AM
  3. get email exporter to export ALL emails?
    By dave777 in forum General Questions
    Replies: 8
    Last Post: 15 Jun 2011, 11:30 AM
  4. Replies: 0
    Last Post: 11 Jan 2010, 06:07 AM
  5. Email Address Exporter - how to download ALL?
    By rbobzin in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 5 Dec 2007, 11:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR