WordPress.org

Ready to get started?Download WordPress

Forums

FoxyShop
[resolved] Inventory Alert Emails (3 posts)

  1. RevConcept
    Member
    Posted 2 years ago #

    Is there a way to change the inventory alert email recipient?

    I am set as admin, but will be creating a WP user account for my clients. I don't want to be getting alerts.

    From a bit of checking, it seems the recipient is controlled by the email address under "general" in WP settings.

    What do you suggest?

    http://wordpress.org/extend/plugins/foxyshop/

  2. sparkweb
    Member
    Plugin Author

    Posted 2 years ago #

    There's a filter for this. Put this in your theme's functions.php file:

    add_filter("foxyshop_inventory_alert_email", "my_foxyshop_inventory_alert_email");
    function my_foxyshop_inventory_alert_email($str) {
    	return "yournewemailhere";
    }

    (http://pastebin.com/bZ4G2hLz)

  3. RevConcept
    Member
    Posted 2 years ago #

    Sorry I've been developing some other parts of the cart....thanks for this!!! It works perfectly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic