The Groups for WooCommerce Extension integrates WooCommerce with the powerful Groups membership plugin.
The memberships is based on products. The tool automatically assigns a customer to one or more groups based on the products ordered.
Memberships can be sold both through normal products and through subscriptions. Please note, that if you want to charge a monthly subscription fee, you need WooCommerce Subscriptions plugin. It adds a new subscription product type.