I am a front end developer trying to figure out how to override


So I can change the coupon code error text, can anyone please guide me on how I would do this the correct way?


You can add a transltion CSV-file to your theme folder:


"Coupon code %s was applied.","Your customized string"

Or for a specific translation

"Mage_XmlConnect::Coupon code %s was applied.","Your customized string"

Note: replace en_US with the language code you need

  • You got me started in the right direction it was: "Mage_Checkout::Coupon code ""%s"" is not valid.","This promotion has expired." Thankyou bb!! :-)
    – Kara
    May 12 '17 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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