Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Disable customer accounts when e-mail is no longer valid

    If you are not distributing it- WHY did you just tell the gentleman you have it?

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Disable customer accounts when e-mail is no longer valid

    Please re-read the above.

  3. #3
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Disable customer accounts when e-mail is no longer valid

    You are trying my patience again- He asked where he could get the mod- you said you haven't distributed it- Either put it in the downloads section or don't talk about it.

  4. #4
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Disable customer accounts when e-mail is no longer valid

    Very well. If it's that much of a deal, I guess I should not announce them at all.

  5. #5
    Join Date
    Apr 2006
    Location
    Cambridge, Ontario, Canada
    Posts
    44
    Plugin Contributions
    0

    Re: Disable customer accounts when e-mail is no longer valid

    I just want to get my hands on the Mod as I need to have this done as I have about 75 invaild emails. So if its anywhere I would like ot get it and use it. When will this be released so I can use it or is there something you can sendf me so I can use the Mod.

    Thanks

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Disable customer accounts when e-mail is no longer valid

    David,

    You have three options:

    1. Via the Admin->Customers area, edit the customer record and unsubscribe them from your newsletter. Then when you send your newsletters to "subscribers only", they will not get it.

    2. Via the Admin->Customers area, delete the customer. This will leave the customers' orders intact, but will delete the product reviews and all the customers address-book entries. Since they're deleted, they will no longer get your mailings.

    3. Do some fancy coding to set email-preferences for these customers to "NONE" instead of TEXT or HTML, as NONE opts them out of ALL mailings, including order confirmations etc. This would have to be done via raw edits in the database. There is no admin-interface to make this easy.

    I'm not sure that the mod suggested above is usable in this case, because you should need the customer's password in order to pretend to be the customer and do self-serve account deletions.
    .

    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
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    179
    Plugin Contributions
    0

    Default Re: Disable customer accounts when e-mail is no longer valid

    It looks like this was planned and not installed yet.

    In ver 1.3.6 admin/includes/languages/english

    I see:

    define('ENTRY_EMAIL_HTML_DISPLAY','HTML');
    define('ENTRY_EMAIL_TEXT_DISPLAY','TEXT-Only');
    define('ENTRY_EMAIL_NONE_DISPLAY','Never');


    All I did was go to admin/customers.php and change the following:


    in admin/customer.php around line 790

    Change this

    ----
    } else {
    $email_pref_text = ($cInfo->customers_email_format == 'TEXT') ? true : false;
    $email_pref_html = !$email_pref_text;
    echo zen_draw_radio_field('customers_email_format', 'HTML', $email_pref_html) . ' ' . ENTRY_EMAIL_HTML_DISPLAY . '   ' . zen_draw_radio_field('customers_email_format', 'TEXT', $email_pref_text) . ' ' . ENTRY_EMAIL_TEXT_DISPLAY ;
    }
    ----

    to this

    ----
    } else {
    $email_pref_text = ($cInfo->customers_email_format == 'TEXT') ? true : false;
    $email_pref_html = !$email_pref_text;
    echo zen_draw_radio_field('customers_email_format', 'HTML', $email_pref_html) . ' ' .

    ENTRY_EMAIL_HTML_DISPLAY . '   ' .
    zen_draw_radio_field('customers_email_format', 'TEXT', $email_pref_html) . ' ' .

    ENTRY_EMAIL_TEXT_DISPLAY . '   ' .

    zen_draw_radio_field('customers_email_format', 'NONE', $email_pref_none) . ' ' .

    ENTRY_EMAIL_NONE_DISPLAY ;
    }
    ----


    I inserted the last option "NONE". When I go into Admin, bring up the Customer and click Edit, I can set this to put NONE in the database.

    One cleanup would be to make this a dropdown box and to initially set the item to be whatever the database is currently showing as the value. In this case, when a person is set to NONE and you bring up the screen, NONE is not shown as the current value.
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

 

 

Similar Threads

  1. v139h Disable COD When Customer Opts for USPS?
    By bi11i in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 17 Dec 2012, 12:04 PM
  2. Why wrong e-mail id is valid in zencart?
    By chetanthumar in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 22 Jul 2010, 12:48 PM
  3. Zip files no longer valid - downloadable products
    By CreativeWitch in forum General Questions
    Replies: 22
    Last Post: 12 May 2009, 05:30 PM
  4. Disable PayPal-payment when customer reachers a certain subtotal
    By andersw in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 13 Mar 2009, 06:00 PM
  5. no longer generating valid download links
    By DebF in forum Managing Customers and Orders
    Replies: 6
    Last Post: 16 Aug 2006, 08:39 AM

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