Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require approval from one level or another #189

Open
dwanjuki opened this issue Jul 30, 2024 · 0 comments
Open

Require approval from one level or another #189

dwanjuki opened this issue Jul 30, 2024 · 0 comments

Comments

@dwanjuki
Copy link
Contributor

Is your feature request related to a problem? Please describe.
After selecting Yes. User must have an approved membership for a different level. in the Approval settings, one can only select a single level.

The customer would like the ability to select multiple levels here, so that members with an approved membership from any of the selected levels can checkout.

Describe the solution you'd like
A filter making it possible to allow checkout to proceed if the user has any of the passed levels.

Possibly allow multiple level selections in the Require Approval settings

Describe alternatives you've considered
Using the existing pmpro_approvals_level_restrict_checkout filter. However, this approach isn't fully compatible with multiple memberships per user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant