Make courses available for one time payment and also to memberships

I have a website where people can buy courses or sign up for a membership to get them for free but when you try to enroll in a course and you aren’t signed in to the website it redirects you to the login screen before it bills you for the course.

So I had to create a “free” membership level to allow people to make an account so they can log in so they can buy the course, but now people are signing up for the free account and not buying anything.

So I want to go back to only having three membership levels to choose from and they all cost money (and remove the free membership). But I’d like to still allow users to buy a course individually without needing to register for a membership.

Would it be possible to make a course available for any user, member or not, that buys it and also to all members that belong to certain membership(s)?

If so, I would also like that, when the users hits the “enroll now” button on the course page, I want them to get taken to the shopping cart with the course in there for $99.99 and to display a popup saying “WAIT, you can get ALL of our courses for just $34/mo!” on the cart screen or checkout.

Unless they are logged in, or course, then it should just let them enroll :slight_smile:

Would this be possible?