Answers.Body: <p>I don't actually think Commerce has an option to disable guest checkout, no.  </p>
  
  <p>But Craft itself makes this, in effect, quite easy.  (In fact, Commerce's whole concept of customers is largely separate from the Craft concept of users.  A customer <em>may</em> be a user, and vice versa, of course, but they are really two separate things.)</p>
  
  <p>In any case, you can hide all checkout access and pages behind <code>{% requireLogin %}</code> tags so those parts of your front end are simply then not reachable by customers who are not logged in users.</p>
  
  <p><a href="https://docs.craftcms.com/v3/dev/tags/requirelogin.html" rel="nofollow noreferrer">https://docs.craftcms.com/v3/dev/tags/requirelogin.html</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-09T22:06:54.237Z
Answers.LastActivityDate: 2019-11-09T22:06:54.237Z
Answers.UserDisplayName: Jeremy Daalder
Body: <p>Is there a method to remove the ability for commerce to allow guest accounts? I want to allow only registered, logged-in users to be able to place orders.</p>
  
Tags: <plugin-craftcommerce><guest>
Title: disable guest accounts for commerce
ThreadText: # disable guest accounts for commerce
  
  (Asked by: username_0 on 2019-11-09)
  
  Is there a method to remove the ability for commerce to allow guest accounts? I want to allow only registered, logged-in users to be able to place orders.
  
  **Tags:** plugin-craftcommerce, guest
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-11-09. Score: 1
  
  I don't actually think Commerce has an option to disable guest checkout, no.
  
  But Craft itself makes this, in effect, quite easy. (In fact, Commerce's whole concept of customers is largely separate from the Craft concept of users. A customer *may* be a user, and vice versa, of course, but they are really two separate things.)
  
  In any case, you can hide all checkout access and pages behind `{% requireLogin %}` tags so those parts of your front end are simply then not reachable by customers who are not logged in users.
  
  <https://docs.craftcms.com/v3/dev/tags/requirelogin.html>
  
  
  ---
  
  