I have added a coupon code for a specific product using product SKU.But it's not applying in front end it shows this is not a valid coupon code.I checked in Core my coupon code is not adding in quote remaining coupons added correctly but this only specific coupon based on SKU is not adding tell me any solution.

        $this->_getQuote()->setCouponCode($isCodeLengthValid ? $couponCode : '')
  • did you checked the matching condition for coupon code ?
    – BornCoder
    Jul 7, 2017 at 12:37
  • Yes I have added with matching condition for that product using the SKU Jul 7, 2017 at 12:41

1 Answer 1


Check following Possible issue.

1 Maybe some other rule already applied which have higher priority then coupon code. Please change priority and try again.

2 Maybe some condition are not satisfied. Please re check and try again


3 Maybe it's because of known bug in Magento CE 1.9 .

Issue state that

When creating a shopping cart price rule in Magento CE 1.9 and using 'Stop Further Rules Processing', the logic has been changed since 1.8 CE and is now flawed. This flawed logic now stops rules being applied correcty with more than one product in the cart and doesn't consider 'Stop Further Rules Processing' at the item level. This means that you get incorrect discount amounts applied as per the bug report here:



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.