OdooWiki OCA HUB

Require login to checkout

website_sale_require_login folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

This module extends the functionality of eCommerce to force users to login before buying anything in the website and allow you to get rid of those duplicated entries of returning unauthenticated users.

If you do not allow external users to sign up, this can serve you to make checkout available only for those that have a user account, and make some sort of members club.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Forces website shoppers to log in before they can check out, hiding the express checkout buttons for visitors who are not signed in.

This module changes the eCommerce checkout so that only logged-in users can proceed to buy. When a visitor is not authenticated, the express checkout buttons are hidden from the shopping cart page and from the small cart summary shown elsewhere on the website.

  • The checkout page itself now requires a logged-in user, so an unauthenticated visitor cannot reach it directly.
  • The cart page and the short cart summary no longer show the express checkout link for guests.
  • The change is applied through inherited website templates (website_sale.cart and website_sale.short_cart_summary), so it affects the standard shop cart screens.
  • No new menus, models or database fields are added; the module only adjusts existing website sale behaviour.

Because the checkout route is restricted to authenticated users, shops that do not allow public sign-up can use this to make checkout available only to customers with an account, effectively creating a members-only purchasing flow. The module depends on the account suggestion feature and includes a test tour for the checkout flow.

Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 15.0

You probably want to enable any user to sign up:

  • Go to Settings > General Settings > Website > Customer Account.
  • Enable Free sign up.

To use this module, you need to:

  • Log out.
  • Try to buy something.
  • You will be forced to log in.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.