Turning off Admin Activity emails in Zen Cart 1.5.0

Zen Cart 1.5.0, as part of PCI Compliance, emails the shopowner every time something changes in the admin.  While this is a good safety feature, it’s not desirable on test carts.  Here’s how to turn it off:

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;

This will bypass the sending of notifications on admin changes.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.