hyva-themes / magento2-react-checkout
Highly customizable Magento 2 Checkout, built with React
Installs: 120 632
Dependents: 1
Suggesters: 0
Security: 0
Stars: 180
Watchers: 13
Forks: 53
Open Issues: 24
Language:JavaScript
Type:magento2-module
Requires
- hyva-themes/magento2-graphql-tokens: ^1.0
- magento/framework: *
- magento/module-catalog: >=103.0.0
- magento/module-checkout: >=100.3.0
- magento/module-customer: >=102.0.0
Suggests
This package is auto-updated.
Last update: 2024-10-26 14:59:54 UTC
README
A Highly Customizable Checkout for Magento 2, Built with React.
hyva-themes/magento2-react-checkout
Compatible with Magento 2.3.4 and higher.
Documentation
You can find the documentation here: https://hyva-themes.github.io/magento2-react-checkout/
What does it do?
It loads a React Checkout at [store-url]/hyva/reactcheckout
. When enabled in hyva_react_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
.
Installation
Please note: this checkout is not intended to be installed as plug-and-play. It should be considered as a toolbox to build your own checkout based on your needs. A developer with ReactJS knowledge will be required.
Ideally, you would use this checkout with your own version of this module: https://github.com/hyva-themes/magento2-checkout-example The Checkout Example uses an extension mechanism that allows you to build your own checkout based on this repo.
If you want to install the checkout as a demo or just try it out, install it directly as follows:
-
Install via composer
Via Packagist:
composer require hyva-themes/magento2-react-checkout
Via Github:
composer config repositories.hyva-themes/magento2-react-checkout git git@github.com:hyva-themes/magento2-react-checkout.git composer require hyva-themes/magento2-react-checkout
-
Enable module
bin/magento setup:upgrade
To fully customize the checkout to your needs, either clone this repo, or use https://github.com/hyva-themes/magento2-checkout-example.
Read the full documentation here: https://hyva-themes.github.io/magento2-react-checkout/
Configuration
In the Magento Backend Configuration:
HYVA THEMES->React Checkout->General Settings->Enable
The configuration path is hyva_react_checkout/general/enable
Credits
This Checkout has been built in corporation - and with the support of - our main partner, integer_net.
In particular, Rajeev K Tomy has been a monumental in the development of this Checkout.
License
The MIT License (MIT). Please see License File for more information.