-
Notifications
You must be signed in to change notification settings - Fork 53
Home
This module contains a ReactApp that can be used to build a Headless Magento checkout.
Compatible with Magento 2.3.4 and higher.
Note: This module is heavily under construction. We recommend using the develop
branch where a new version of the checkout is shaping into. Later, master
would be replaced with develop
.
It loads a React Checkout at [store-url]/hyva/checkout
. When enabled in hyva_checkout/general/enable
it replaces the default checkout.
It depends on these two variables in localstorage:
-
signin_token
to thecustomer
section -
cartId
to thecart
section
For Hyvä Themes of default Magento frontend, hyva-themes/magento2-graphql-tokens
is needed to add these tokens to the customerSections
.
- Install via composer
composer config repositories.hyva-themes/magento2-hyva-checkout git git@github.com:hyva-themes/magento2-hyva-checkout.git composer require hyva-themes/magento2-hyva-checkout
- Enable module
bin/magento setup:upgrade
In the Magento Backend Configuration:
HYVA THEMES->Checkout->General Settings->Enable
The configutation path is hyva_checkout/general/enable