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.
Is there a way within rules to modify the UC role expiration date for a user?
Specifically, users will already have paid a membership on an earlier non-drupal site. I can calculate how many days they have left from their old membership using rules, and would like to add those days to their new UC-purchased role after that role is granted.
I'm not sure what variable I would be setting in a rules action, or whether it is even possible to set the role expiration this way.
Any help would be greatly appreciated!
Jonathan Sibley
Comments
Comment #1
jsibley CreditAttribution: jsibley commentedI would like to broaden the question.
Is there a way to adjust the ubercart role expiration in any way, with or without rules?
Thanks.
Comment #2
TR CreditAttribution: TR commented