When you link a product to a role, each user that purchases the product is added to this role. The user is added to the role after a successful checkout has been executed.
To link a product to a role, you must perform the following:
Code example: Link a product to a role
Back To Top