<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>

CC BY-SA 4.0
2019-11-09T22:06:54.237Z
2019-11-09T22:06:54.237Z
Jeremy Daalder
<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>

<plugin-craftcommerce><guest>
disable guest accounts for commerce
# 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>


---

