Magento2 Checkoutonly
vendic/magento2-checkoutonly
Limits frontend access to only the checkout pages. Useful for PWA setups where Magento 2 is solely used for checkout functionality.
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
Share This Module's Status
README
Loaded from GitHubMagento 2 Checkout Only
A module that enables you to limit frontend access to only the Magento checkout. Usefull, for example, in a PWA setup that uses PWA for catalog viewing and Magento 2 for the checkout purposes.
Disclaimer: This module isn't battletested yet, use with caution
Example use case: Vue storefront
When using the default Magento 2 checkout, in combination with a Vue Storefront frontend. The user is redirected from vue storefront to the Magento 2 cart or checkout. With this setup it makes sense to block all traffic to the other Magento 2 page types, like homepage, category page and product page.

Settings

Installation guide, for usage with Vue storefront
- Setup Vue Storefront on yourvuestorefrontdomain.com
- Setup Magento 2 on checkout.yourvuestorefrontdomain.com
- Install the Vue Storefront external checkout
- Install the Magento external checkout for Vue Storefront
- Install the Magento 2 checkout only module:
composer require vendic/magento2-checkoutonly
About Vendic
Vendic - Magento 2 develops technically challenging e-commerce websites using Magento 2. Feel free to check out our projects on our website.
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.