Force PMPro membership on cart

For my site i need to force people to be members when they buy any products, if they ain’t members already. It has to be displayed on cart/checkout pages and charged aswell. So when they click add to cart on a product, then it will automatically add membership if they arent already members.

How can this be done? I haven’t been able to find a plugin for this.

We have tried plugins like, Woocommerce force sells, which isn’t a solution.

Anyone with an idea on how to do this?


Probably with WooCommerce modification but wouldn’t be cheap compared to the plugin prices (13-30$)
IF you’re interested in, you can contact me

Mailed you.