vendic/magento2-checkoutonly

A module that enables you to limit access only the Magento checkout. Usefull for a PWA setup that uses the default Magento 2 checkout

Installs: 43 501

Dependents: 0

Suggesters: 1

Security: 0

Stars: 12

Watchers: 4

Forks: 7

Open Issues: 0

Type:magento2-module

0.1.2 2022-08-08 11:37 UTC

This package is auto-updated.

Last update: 2024-10-08 16:20:56 UTC


README

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.

External checkout for Vue Storefront

Settings

Magento 2 checkout only settings

Installation guide, for usage with Vue storefront

  1. Setup Vue Storefront on yourvuestorefrontdomain.com
  2. Setup Magento 2 on checkout.yourvuestorefrontdomain.com
  3. Install the Vue Storefront external checkout
  4. Install the Magento external checkout for Vue Storefront
  5. 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.