Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2008
    Posts
    1
    Plugin Contributions
    0

    Default i have added 700 new customers and I want to subscribe them en masse

    I have just added 700 new customers and I now want to subscribe them all to the newsletter. Is there a quick way to do it?

  2. #2
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default Re: i have added 700 new customers and I want to subscribe them on mass

    I have not done this but I think this is how it'd play out.


    1. Back up your database
    2. Two fields need to be updated in your database ( customers_newsletter & customers_email_format )
    3. customers_newsletter should be 1 for on, 0 for off
    4. customers_email_format should either be TEXT or HTML



    I used phpMyAdmin to edit the field and got the following as the SQL, I then asked it to create PHP code below. So write your SQL string and run it

    Hope this helps!


    Here's the SQL

    UPDATE `DATABASENAME`.`customers` SET `customers_newsletter` = '1',
    `customers_email_format` = 'HTML' WHERE `customers`.`customers_id` =3 LIMIT 1 ;


    Here's the PHP

    $sql = 'UPDATE `DATABASENAME`.`customers` SET `customers_newsletter` = \'1\', `customers_email_format` = \'HTML\' WHERE `customers`.`customers_id` = 3 LIMIT 1;';


    You would obviously edit the ((WHERE `customers`.`customers_id` =3 LIMIT 1 ;)) so it updates all your customers as opposed to just a single record
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,707
    Plugin Contributions
    123

    Default Re: i have added 700 new customers and I want to subscribe them on mass

    Sending unsolicited bulk commercial email is a violation of the law in the US. You can lose your hosting account, get your email address blacklisted and even get sued. Don't do this.

    The MailChimp boys wrote some tutorials for people who are new at email campaigns; this blog post has some links:

    http://thecartblog.com/2008/07/13/wa...y-be-spamming/

    Good luck,
    That Software Guy
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 11 Nov 2013, 11:59 PM
  2. Fresh install on new server, but want to migrate customers and products
    By scrap in forum Upgrading from 1.3.x to 1.3.9
    Replies: 13
    Last Post: 5 Dec 2010, 10:08 PM
  3. Imported customers have no addresses - how can I require them to add one?
    By lavs in forum Managing Customers and Orders
    Replies: 5
    Last Post: 24 Sep 2009, 10:08 PM
  4. Added new product and extra images were added with it? (not wanted)
    By bakdoor in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Nov 2008, 10:31 AM
  5. All customers fields in ADMIN > CUSTOMERS are empty and I can't delete them!
    By plgaudreau in forum Managing Customers and Orders
    Replies: 1
    Last Post: 26 Feb 2008, 02:08 AM

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