Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Disable admin alert emails.

    Hi swguy or anyone who knows the answer...
    I read a post on cartblog, where you gave instructions how to turn off admin email alerts.
    Could you tell me if your code should be inserted on a line before, or in front of with one space etc? (couldn't get it to work this morning)

    We create the order for a customer ourselves and adjust the shipping rate each order.
    So for every order we receive the annoying warning email. (we operate from home, so am happy to disable the warnings)

    Here's the code I refer to...
    HTML Code:
    Edit the file  includes/functions/functions_email.php At the start of the function zen_mail() add the line if ($module == ‘admin_settings_changed’) return;
    Thanks!
    mcpisik

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Disable admin alert emails.

    Quote Originally Posted by mcpisik View Post
    So for every order we receive the annoying warning email. (we operate from home, so am happy to disable the warnings)
    But ... you're not understanding the *reason* for those emails.

    Don't you WANT to know if someone ELSE (like a hacker) makes a change to your modules, especially such as changing your payment module settings to send payments to some hacker?

    The REASON for the emails is to let you know that something "sensitive" has changed.

    Or maybe you don't care about security of your site?
    .

    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.

  3. #3
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Disable admin alert emails.

    Yes, that's the answer I was expecting.
    No, I liked the way zen-cart was for years.
    I receive so many email alerts now, that I'll NEVER notice one that may be an actual alert, amongst them.
    Can anyone provide a solution?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Disable admin alert emails.

    Maybe you need a different shipping module so you don't have to edit its settings in the admin for every order.
    .

    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
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Disable admin alert emails.

    Would certainly love a solution to the shipping module.
    We rent costumes. Before they can rent, we confirm availability.
    They are quoted for freight based on how fast it's needed, how bulky the items are, how many items fit together and we quote return cost at slower/cheaper courier rate.
    Any module that would take care of that, without us overcharging or losing money on courier?

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

    Default Re: Disable admin alert emails.

    You might need to write a custom shipping module that allows you to enter the price ... and restrict it to being usable by only a certain IP address (yours), or whatever restriction suits you.




    If you were working on a Development-Only site, then you could simply turn off all emails, since those and other emails would be irrelevant for the time being.
    Alternatively, you could set email to SMTPAUTH mode and use a free mailtrap.io account for email-testing.
    .

    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.

 

 

Similar Threads

  1. Admin Page Alert after Admin Dir name change
    By shocker in forum Basic Configuration
    Replies: 3
    Last Post: 28 Oct 2011, 05:36 AM
  2. Disable Order notification emails
    By DaveS in forum General Questions
    Replies: 4
    Last Post: 25 Aug 2011, 09:53 AM
  3. Disable order status change emails
    By pRS317 in forum General Questions
    Replies: 8
    Last Post: 24 Feb 2010, 08:56 PM
  4. Disable Quickbooks Order Update Emails?
    By atmpartmart in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 9 Oct 2009, 03:48 AM
  5. Is it possible to disable order confirmation emails?
    By countingsheep in forum Managing Customers and Orders
    Replies: 4
    Last Post: 25 Jan 2007, 06:57 PM

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