Customizing Checkout
How to disable guest checkout?
Disabling Guest Checkout (Shop UI)
1. Update security.yaml
security.yaml# config/packages/security.yaml
security:
access_control:
- { path: "%sylius.security.shop_regex%/checkout", role: ROLE_USER }2. Result

Disabling Guest Checkout (Shop API)
1. Allow anonymous users limited access
2. Result
What This Configuration Allows:
Last updated
Was this helpful?
