...
You may have Custom Satisfaction Surveys enabled but you may want to not show the survey for some specific recipients. What you can do is create a custom version of the “renderCustomerSatisfaction” that will only render if the recipient does not match a static list of Email Address.
Implementation
Info |
---|
Note: If using a default theme then you would need to press Show System Defaults in the Themes tab. |
To achieve this you will need to access the relevant Theme within Notifications > Themes and extract the “renderCustomerSatisfaction” macro and paste this within Notifications > Custom Macros and then add a condition to the beginning of the macro that will check if the recipient can be found within a static variable.
Once this is implemented it will then be used by all Templates including the Default JEMH templates.
Example Custom Macro
The below example will check if the recipient email address is within the blockedRecipients variable if so then the Custom Satisfaction will not be shown.
...