If you want users can buy the course without login, you can enable “Enable Guest Checkout” in LearnPress payment settings. When users didn’t log in and press the “Buy This Course” button, they still can buy the course, and there is an “As Guest” text on the checkout page.

setting_20

If you enable Account login and Account creation, it will appear on the Checkout page when visitors haven’t logged in.