Advanced Coupon Conditions for Woocommerce allows you to create coupons with advanced attributes.
It is based on the [WordPress Plugin Boilerplate] (https://github.com/DevinVinson/WordPress-Plugin-Boilerplate) and it is tested with Woocommerce 2.4+.
If you like the plugin, please give it a rating.