Sorry! Internet Explorer is not supported on this site. Please view on Chrome, Firefox, or Edge.

Having fun at Zao is one of our values. We’ve put limited animated flourishes throughout our site to communicate our love of levity. We also recognize that onscreen movement is not fun or possible for everyone. We've turned off all our animations for you per your browser's request to limit motion. That said, we don't want you to miss out on the party.

Here's a funny joke to enjoy!

Where does the General keep his armies?

In his sleevies!

How to Disable Customer Notifications in WP eCommerce

One of my colleagues working in support recently had a customer ask them how they might disable customer notifications in WP eCommerce.  They were already receiving notifications from the payment gateway they had enabled, and they preferred those.  Luckily, it’s a simple one-liner to change disable customer notifications.

add_filter( 'wpsc_purchase_log_customer_notification_address', '__return_empty_string' );

Add that to a plugin or a theme’s functions.php file and you’re all set.  Worth noting, the __return_empty_string function only exists as of WordPress 3.7, so if you’re supporting older versions, you might need to take a different approach.

Join the Conversation

2 Comments

Leave a comment

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