To restrict the visitors to go to checkout page.
- Go to Commerce > Websites > Website List.
- Click Edit next to a website.
- Click the Shopping subtab.
- In the Type of Customer Registration field, select existing customers only.
- Click Save.
To restrict the visitors to go to checkout page.