This module contains a ReactApp that can be used to build a Headless Magento checkout.
Compatible with Magento 2.3.4 and higher.
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
sectioncartId
to thecart
section
For Hyvä Themes or 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 [email protected]: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 configuration path is hyva_checkout/general/enable
You can find the documentation here: https://hyva-themes.github.io/magento2-hyva-checkout/
The MIT License (MIT). Please see License File for more information.