Promotions: Coupon Codes are case sensitive?

If coupon codes are case sensitive does anyone know how to turn that off so no matter what the case the coupon works. I had quite a few confused customers when they typed all lower-case (had i known they were case sensative i would have made it all lower-case)

Try this in the /core/fn.promotions.php file





Look for this:

} else {

$codes = array_intersect($coupons, $values);

}





and replace it with this:



} else {

foreach ($coupons as $k => $coupon) {

$coupons[$k] = strtoupper($coupon);

}

foreach ($$values as $k => $value) {

$values[$k] = strtoupper($value);

}

$codes = array_intersect($coupons, $values);



}

Hello,



We are using version 2.2.1 but this fix to remove the case sensitive “feature” from coupons does not seem to work? Anyone have a suggestion as to how to fix this?



I logged a support ticket but they want to charge for this and it is a bug to me.



Thanks!