I have an issue where I am testing my coupon in Rules to see whether an order total is above a certain amount, and if it is not I invalidate the coupon, but I also need a custom system message in this case which states to the user that the order total is not enough to apply this coupon to their order, but I can not avoid the warning message which comes with the action of invalidating a coupon which states
Your coupon code is not valid.
So I have 2 system messages, one stating that the coupon is not valid and the other stating that the order total is not enough.
The coupon code is valid in this case, but there is no other way to not allow the code to be added to the order, other than allow it be added before removing it again on the next checkout page using the Rules action Remove a coupon from an order.
But this may cause confusion and is not user friendly for the end user.
Would it therefore be possible to add an option into the Rule 'Set coupon as invalid' which allows us to choose whether we want this warning message to be displayed.
Comments
Comment #1
Joe HuggansComment #2
Joe Huggans