WP Manifestindependent plugin directory
manifest / ecommerce / wc-new-order-email-sorting-hat

WC New Order Email Sorting Hat

Send new order emails to different recipients according to product types

★ 0stars
633composer installs
0.3.0latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/itinerisltd/wc-new-order-email-sorting-hat/archive/refs/heads/master.zip

On Packagist as itinerisltd/wc-new-order-email-sorting-hat:

composer require itinerisltd/wc-new-order-email-sorting-hat
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Send new order emails to different recipients according to product types.

Minimum Requirements

  • PHP v8.1
  • WordPress v6.7
  • WooCommerce v9.6
  • Optional Event Tickets v5.9

Installation

$ composer require itinerisltd/wc-new-order-email-sorting-hat

Usage

Enable Enable new order email notification on WooCommerce » Emails » New Order » Manage

Define your notifiers:

// This is an example!
add_filter('wc_new_order_email_sorting_hat_notifiers', function (array $notifiers): array {
    return array_merge([
        new SpecificEventTicketNotifier(
            'new_order_email_refinery_course_event_ticket_recipients',
            __('Course Event Ticket Recipient(s)', 'fabric'),
            'course'
        ),
        new EventTicketNotifier(),
    ], $notifiers);
});

Enter comma-separated recipients lists on WooCommerce » Emails » New Order Email Sorting Hat

FAQ

Will you add support for older PHP versions?

Never! This plugin will only works on actively supported PHP versions.

Don't use it on end of life or security fixes only PHP versions.

It looks awesome. Where can I find some more goodies like this?

This plugin isn't on wp.org. Where can I give a ⭐️⭐️⭐️⭐️⭐️ review?

Thanks! Glad you like it. It's important to make my boss know somebody is using this project. Instead of giving reviews on wp.org, consider:

Feedback

Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.

Change Log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email hello@itineris.co.uk instead of using the issue tracker.

Credits

wc-new-order-email-sorting-hat is a Itineris Limited project created by Tang Rufus.

License

wc-new-order-email-sorting-hat is released under the MIT License.

Releases

1 release.

Tag
Published
0.3.0 latest
Feb 20, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.