Coupon Code Error Messages - Magento 2

$69.00
Composer ReadyComposer Ready
Rating:
100% of 100

This Magento 2 extension will allow you to customize error messages produced on coupon failure (when applied by the customer on the cart or checkout page).

These error messages are editable/configurable at two admin paths:

  • At global settings at path Store -> Configuration -> RedChamps -> Coupon Error Messages
  • At a specific cart price rule level, open the required cart price rule from path Marketing -> Cart Price Rules & specify the error message under the "Error Messages" section.
$69.00
  • Quality Code
  • Free Installation
  • Lifetime Free Support
  • Quick Response

Overview - Coupon Code Error Messages Magento-2 Extension

Magento natively produces the error message

"The coupon code "{coupon-code}" is not valid."

whenever a requested coupon code by a customer can't be applied. This error message is generic & doesn’t provide a clear understandable reason. Hence, this will lead the customer to a confused state & he may just leave the store without making a purchase or contact the customer service team.

To avoid this situation, we created this Magento 2 extension which will replace the generic error message with a real error message & you can customize that message from the admin panel as well.

For example, if a coupon code is allowed for a shopping cart with a subtotal greater than $200 & the customer has less than it then the error message can be

"This coupon code can be applied when the cart subtotal is greater than $200."

You can have a different error message for different situations like:

  • Coupon doesn't exist or the cart rule is inactive.
  • The coupon/Cart rule is expired.
  • The coupon is not allowed for customer group to which customer belongs: For example, the coupon is allowed for logged in customers & the customer doesn't have an account or not logged-in then you can have a message like "This coupon code is only allowed for logged in customers. Please login to your account & retry."
  • The coupon is allowed for current website/store: This can be the case when you are having a multi-store environment .
  • The allowed usages for the coupon are exhausted.
  • The customer cart doesn't qualify for coupon/cart rule conditions.

This messages are editable at global settings at path Store -> Configuration -> RedChamps -> Coupon Error Messages Coupon Error Messages Global Setting

OR you can override/configure these for specific cart price rules. In order to do this, just open the required cart price rule from path Marketing -> Cart Price Rules & specify the error message under the "Error Messages" section. Coupon Error Messages Cart Price Rule level setting

Write Your Own Review
You're reviewing:Coupon Code Error Messages
Your Rating
Version v 1.0.0 - May 09, 2021
- initial version
Copyright © 2016-present RedChamps. All rights reserved.