Skip to content

Lets you define a "magic" mambership product in woo (by id), then when this product is bought, after checkout it assigns a premium_member role to that user. Use that along with restrict_content or my guestshortcode plugins to restrict content and build a membership site.

License

Notifications You must be signed in to change notification settings

Nullcorps/woocommerce-membership-by-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

woocommerce-membership-by-role

Lets you define a "magic" mambership product in woo (by id), then when this product is bought, after checkout it assigns a premium_member role to that user. Use that along with restrict_content or my guestshortcode plugins to restrict content and build a membership site.

  • You can now set the id of the "magic" product in the admin settings.

  • moved the bit which removes all the billing/address fields to a separate plugin - see "woocommerce-remove-address-fields" in my repos

  • Added some functionality to make things work with the CCBill plugin which didn't seem to want to work wiht ccbill webhooks. This manually sets the order status to "processing" (effectively 'done'). It's not pretty but seems to work reliably.

DONE - Admin bit with the magic product id/s isn't implemented yet

About

Lets you define a "magic" mambership product in woo (by id), then when this product is bought, after checkout it assigns a premium_member role to that user. Use that along with restrict_content or my guestshortcode plugins to restrict content and build a membership site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages