So I tried searching to find if anyone found a way to do Inclusions instead of Exclusions. After not finding anything I dug into the code myself and found a pretty simple and fast solution for the category, product, manufacturer, customer and shipping zone exclusion/inclusion options.
In catalog\includes\classes\discount_coupon.php
To change categories, products and manufacturers
on lines 225 (category check), 247 (product check), 274 (manufacturer check) change:
return false;
to:
return true;
And on line 290 change:
return true;
to:
return false;
To change customers
On line 66 change:
if( tep_db_num_rows( $check_user_query ) > 0 ) {
To:
if( tep_db_num_rows( $check_user_query ) == 0 ) {
To change shipping zone
On line 80 change:
if( tep_db_num_rows( $check_user_query ) > 0 ) {
To:
if( tep_db_num_rows( $check_user_query ) == 0 ) {
:thumbsup: