• To restrict users on the profile page before they complete their profiles is a little too unfriendly. I want to make the users free to explore the site, only when they try to access certain pages should they be required to complete their profile. In my case, which is an online course site, the users should be able to explore the courses, only when they are trying to place an order should they get a message saying “complete your profile please” and be redirected to the profile editing page. Is this possible?

    While writing this, I think of another approach. Maybe I can create a role for those who haven’t completed their profiles, and restrict this role from placing a woocommerce order. Inside your plugin, I think there must be an action once a user completes their profile, right?

Viewing 1 replies (of 1 total)
  • Thread Starter shenkwen

    (@shenkwen)

    I just found this function in your code

    bpprocn_has_incomplete_profile()

    It seems I can just use this function to check if the current user has their profile completed when they try to access the checkout page. What do you think?

Viewing 1 replies (of 1 total)
  • The topic ‘How can I conditionally trigger force completion?’ is closed to new replies.