Could you please add some features to the invalid coupon action, such as:
- Boolean field, "Display message?"
- Text field, "Message to display"
I think this is more correct than displaying a preset message over which the site manager has no control. I do display an additional message, but I'd love to get rid of the default one first.
Comments
Comment #1
pcambraNot sure of what you mean, the action normally doesn't display any message unless you're trying to use the coupon twice for the same order
But normally the only rule that calls the invalid coupon is "Coupon Validation: Set the coupon as invalid if number of uses is reached", and the message there is configurable/removable by UI.
Comment #2
firfin commentedTo clarify:
These settings are set in a rules component. To alter a component go to
configuration -> workflow -> rules -> components.
Or for this specific rule component you van visit:
/admin/config/workflow/rules/reaction/manage/commerce_coupon_validate_uses_of_coupon_component
Comment #3
aidanlis commentedWhy display two messages when we could display one? If I want to explain to the user why their code isn't valid, it looks like this: http://share.aidanlister.com/LoaD
Being able to customise the invalidate action text would be good.