Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I may be missing something, but I couldn't figure out a way (short of custom PHP) to have the role notification email conditional on which role is being granted. Patch to follow adds such a condition, and allows you (for example) to send a completely different email depending on which role has been purchased.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1464054-role-grant-condition.patch | 2.02 KB | wodenx |
Comments
Comment #1
wodenx CreditAttribution: wodenx commentedI haven't investigated whether this is needed in D7 as well.
Comment #2
TR CreditAttribution: TR commented#1: 1464054-role-grant-condition.patch queued for re-testing.
Can someone please try out this patch and let us know if it works?
Comment #3
longwaveCommitted. Not needed in 7.x, you can use the data comparison condition.