Hi! I have a month subscription on my site(+ 30 days of a role). When custumers buy it(i use drupal commerce) for two months they still get only 30 days.
My rule
Events - When an order is first paid in full
Conditions - Order contains a particular product (with SKU)
Actions -
Loop
Parameter: List: [commerce-order:commerce...
List item: Current list item (list_item)
Extend expire time for role
Parameter: User: [commerce-order:owner], Role: member, Expiration: +30 days

So, I cant understand is this a bug or my mistake?

Comments

stewsnooze’s picture

Status: Active » Closed (won't fix)

Role Expire doesn't current support adding multiple durations to role expirations. Ubercart used to have a specific thing for this so I assume Drupal Commerce has a module that sells role subscriptions rather than role expire.

sorensong’s picture

I don't understand why you wouldn't be able to repeat (loop) a Role Expire action multiple times? Would it be possible to simply allow php in the field Expiration Value?