You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be an idea to allow custom error messages on a rule level in the core?
create field on rule level
maybe? make it for multiple languages (this makes it a little more difficult)
ability to allow %s for echo of the code itself (optional)
if field is empty revert to original message
qua code would need definition of new field (maybe also tab)
in code use if/else to retrieve new field, if exist use it, else use default
So suppose we have a discount code XXX that is valid above value of 180 usd ... then instead of reporting "This discount code is invalid" we could show "This discount code is valid for a value greater than 180 usd" or at least something more specific
This discussion was converted from issue #705 on May 18, 2022 16:15.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Would it be an idea to allow custom error messages on a rule level in the core?
So suppose we have a discount code XXX that is valid above value of 180 usd ... then instead of reporting "This discount code is invalid" we could show "This discount code is valid for a value greater than 180 usd" or at least something more specific
Beta Was this translation helpful? Give feedback.
All reactions