How to set the user must login as member before purchase?
Use the Commerce Checkout Redirect for implementing this:


  This module redirects anonymous users to a page where they can login or create a new account when they try to checkout.