Coupon applying to entire cart (when it shouldn't) - A FIX!

In file: simplecart/controllers/web/Cart.class.php, wrap all lines inside the foreach at line 1452 in the following “if” statement:

if($product->id === $coupon->get('product_restrict’)){}

and VOILA! coupons now apply only to that one product, not every single one.

Cheers!

If this is in relation to the bug where a fixed price coupon is applied multiple times to a cart resulting in giving away too much discount, we’ve corrected that in the upcoming 2.4 with a different solution.