Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2007
    Posts
    3
    Plugin Contributions
    0

    Idea or Suggestion HOWTO: set up to send email to specific customer discount groups

    I was searching for a way to send emails to user in a customers group.
    I found a easy way to do it:

    Enter in your database (through MySQL or other) and enter in the table "query_builder". Insert a new values row with this values:

    Query_id: the-next-id-number (7 to me).
    query_category: email
    query_name: group1 (the name of your group)
    query_description: a description of your group
    query_string:
    Code:
    select customers_firstname, customers_lastname, customers_email_address from TABLE_CUSTOMERS where customers_group_pricing = '1'
    (1 is your groupīs id number. You can find that number in the table "group_pricing)

    ...and thats all ;) Repeat the script to add all groups you want.

    Tell me if it works! ;)

    sorry for my English... if anyone wants to do a better translation... please do it.
    murphy was right

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: HOWTO: set up to send email to specific customer discount groups

    Your English was fine.

    I'll give it a try.

    JP

  3. #3
    Join Date
    Nov 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: HOWTO: set up to send email to specific customer discount groups

    Hi.....i really new for PHP or MSQL but i want to send emails to user in a customers group. and i find this thread so could you please help me to guide step by step to do this :).
    what folder should i open and paste those script, i already add group pricing on the zen.

  4. #4
    Join Date
    Nov 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: HOWTO: set up to send email to specific customer discount groups

    Hi eirene. You have to modify your database, not any php file...

    You can use phpmyAdmin or whatever tool to manipulate databases.

    ^^
    murphy was right

  5. #5
    Join Date
    Dec 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: HOWTO: set up to send email to specific customer discount groups

    Does this solution make a NEW EMAIL LIST available from the TOOLS/SEND EMAIL screen in the administrator?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,378
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HOWTO: set up to send email to specific customer discount groups

    Yes .
    .

    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.

  7. #7
    Join Date
    Jul 2008
    Location
    San Diego, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: HOWTO: set up to send email to specific customer discount groups

    I was also trying to add a new item to pull down list - GREAT FEATURE to be able to update in database

    I updated the database, and the item showed up in the EMAIL pull down list and indicates 33 customers next to the pull down item.

    However, when I send, error appears at top of page indicating that the email was not sent.
    Error Notice: FAILED to send Email to all recipients: All non-Newsletter Subscribers (0)

    Change to query string was very simple: from customers_newsletter = "1" to customers_newsletter='0':
    select customers_firstname, customers_lastname, customers_email_address from TABLE_CUSTOMERS where customers_newsletter ='0'

    Any suggestions on a fix? Is there another bit of code that needs to be changed?

    Thanks

  8. #8
    Join Date
    Nov 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: HOWTO: set up to send email to specific customer discount groups

    sorry, I cant imagine what is wrong... may be you should take a look to the send email file... i dont know.
    anyone can help him?
    murphy was right

  9. #9
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    289
    Plugin Contributions
    3

    Default Re: HOWTO: set up to send email to specific customer discount groups

    Hi gersput
    I got no idea how you figured this one out. WELL DONE!
    What a great way to send emails to any sub group of customers. By the way you can setup a discount group with 0% discount if you simply want to create a group to email.

 

 

Similar Threads

  1. Send Email to Customers - Can I Make My Own Groups?
    By MelodyW in forum General Questions
    Replies: 1
    Last Post: 27 May 2011, 03:17 PM
  2. HowTo Send downloadable product to Customer?
    By dynaeon in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 29 Oct 2009, 09:18 AM
  3. Replies: 4
    Last Post: 5 Jun 2009, 06:49 AM
  4. How do I send BCC to myself when I Send Email to Customer?
    By Zinfandel in forum General Questions
    Replies: 3
    Last Post: 20 Aug 2008, 01:55 PM
  5. Need to send product specific detail in confirmation email
    By kallel in forum General Questions
    Replies: 10
    Last Post: 9 Aug 2006, 01:28 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