itinerisltd / wc-new-order-email-sorting-hat
Send new order emails to different recipients according to product types
Installs: 633
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 11
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: ^8.1
- composer/installers: ^1.6
- illuminate/support: ~8.0
Requires (Dev)
- itinerisltd/itineris-wp-coding-standards: ^0.4.1
- roave/security-advisories: dev-master
README
Send new order emails to different recipients according to product types.
Minimum Requirements
- PHP v7.2
- WordPress v4.9.8
- WooCommerce v3.5.1
- Optional Event Tickets v4.8.2.1
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?
- Articles on Itineris' blog
- More projects on Itineris' GitHub profile
- Follow @itineris_ltd and @TangRufus on Twitter
- Hire Itineris to build your next awesome site
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:
- tweet something good with mentioning @itineris_ltd
- star this Github repo
- watch this Github repo
- write blog posts
- submit pull requests
- hire Itineris
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.