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.

#1 1464054-role-grant-condition.patch2.02 KBwodenx
PASSED: [[SimpleTest]]: [MySQL] 1,913 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


wodenx’s picture

Status: Active » Needs review
2.02 KB
PASSED: [[SimpleTest]]: [MySQL] 1,913 pass(es). View

I haven't investigated whether this is needed in D7 as well.

TR’s picture

#1: 1464054-role-grant-condition.patch queued for re-testing.

Can someone please try out this patch and let us know if it works?

longwave’s picture

Status: Needs review » Fixed

Committed. Not needed in 7.x, you can use the data comparison condition.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.