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

Paid Health Plans for WooCommerce #154

Closed
13 tasks done
ashleyshaw opened this issue Aug 5, 2020 · 2 comments
Closed
13 tasks done

Paid Health Plans for WooCommerce #154

ashleyshaw opened this issue Aug 5, 2020 · 2 comments
Labels
[Integration] WooCommerce Needs Dev Anything that needs development. [Type] Enhancement New feature or request

Comments

@ashleyshaw
Copy link
Member

ashleyshaw commented Aug 5, 2020

Add WooCommerce Integration Support

  • Site owners need to be able to sell any individual plans and restrict plan content is only be accessible to paying members.

Describe the solution you'd like

Plan Types

  • Full health plan that includes both workouts with exercises & meals with recipes.
  • Meal plan only.
  • Workout plan only.

Single Plan Frontend Template

  • On the Single Plan template display an "add to cart" or "sign up now" button on the plan allowing the user to buy the individual plan.

Content restrictions

  • Scenario 1: Only logged in users who have paid for the full plan can view meal, recipe, workout & exercise content.
  • Example: User buys plan 1, but not plan 2, they will be able to access all of the content in plan 1, but none of the content in plan 2.
  • Scenario 2: Restrict access to any plans that have not purchased and display a text message saying "signup to access plan", the message needs to link the single plan page, which will allow the user to

Designs

Single Plan Page - Logged out

Nice to have functionality

  • NB: These tasks.

Plan Previews:

  • "Free Preview" option to allow users to take a peek at a limited number of plan pages content.

WooCommerce Memberships Extension Integration:

  • Research more about how to implement a Memberships integration.
  • Sell Health Plan access using the and a membership plan product.

WooCommerce Subscriptions Extension Integration:

  • Research whether any special Subscriptions support needs to be added for the Plans Product to work 100% with a Subscription Product.
@krugazul
Copy link
Collaborator

krugazul commented Aug 13, 2020

Content Restriction Guide (comment is still being updated)

Membership Messages (WooCommerce Settings)

  • Change the restriction messages to be more generic

Plans Archive Frontend

1: You will see all plans available
2: The button goes through 3 states.

  • If you are logged out or do not have access to the plan, the button will be an "Add to Cart" button.
  • If you have purchased access then it will be disabled, but still linked to the single plan with the text "Already signed up"
  • If the plan is "free", meaning no products or membership is assigned, then it will be a standard "View" button, linking through to the single plan.

Single Plans (edit screen)

1: You will need to connect your plan to a product via the "Products" meta box that appears in the sidebar of the screen.
2: You will need to assign the membership plan to the page via the "Memberships" metabox.

@viscosho
Copy link
Contributor

Added on this merge 62b89f5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Integration] WooCommerce Needs Dev Anything that needs development. [Type] Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants