1

I have created a field (checkbox) in user profile edit form that is only visible to admin.

When the user completed their checkout process (after payment) that field which I created previously must be updated (I.e: checked).

I want to implement this functionality for letting admin know about who has purchased the subscription plan .

How could I do it by using rule or something else?

1
  • I have to do it with Drupal 7
    – user59414
    Commented Jul 2, 2016 at 7:14

1 Answer 1

0

you can use the Rules module for the after checkout event then use some custom php code to update your field.

you might need to add Commerce Rules Extra module to get the checkout event in rules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.