You need more than one person to receive order notifications.

How to add additional merchant email addresses to Shopp

You need more than one person to receive order notifications.

When you look at the Shopp-menu option Setup->Setup you will find the input field for “Merchant Email”. Here you can enter the email address for the owner of the shop to receive email notifications.

What if you need to send email notifications to more than one email address?
For instance, because one department will take care of financial matters and another will actually ship the products.

You can do this by adding a filter-function to your theme’s functions.php file. This file should be in your /wp-content/themes/your-theme/ folder.
Another way to get to this file is by going to Appearance->Editor in your WordPress admin menu. Your functions.php (Theme Functions) file will be located at the right.

Open the file by clicking it and scroll down to the end of the file.
You will find something like:

}?>

Change this to

}
 
add_filter('shopp_email_receipt_data', 'add_email_recipients');
 
function add_email_recipients ($email) {
    $email['bcc'] = "somebody@domain.com";
    return $email;
}
 
?>

Change it to this if you need to add even more email addresses

}
 
add_filter('shopp_email_receipt_data', 'add_email_recipients');
 
function add_email_recipients ($email) {
    $email['bcc'] = "somebody@domain.com, someone_else@otherdomain.com";
    return $email;
}
 
?>
calculating-converting-prices shopp-add-email-phone-to-receipt How to add your own Shopp tag
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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