Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.91 KB

README.md

File metadata and controls

62 lines (40 loc) · 1.91 KB

Hyvä Themes - Hyvä Checkout

Hyvä Themes

hyva-themes/magento2-hyva-checkout

Supported Magento Versions

This module contains a ReactApp that can be used to build a Headless Magento checkout.

Compatible with Magento 2.3.4 and higher.

What does it do?

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 the customer section
  • cartId to the cart section

For Hyvä Themes or default Magento frontend, hyva-themes/magento2-graphql-tokens is needed to add these tokens to the customerSections.

Installation

  1. 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
    
  2. Enable module
    bin/magento setup:upgrade
    

Configuration

In the Magento Backend Configuration:

HYVA THEMES->Checkout->General Settings->Enable

The configuration path is hyva_checkout/general/enable

Documentation

You can find the documentation here: https://hyva-themes.github.io/magento2-hyva-checkout/

Credits

License

The MIT License (MIT). Please see License File for more information.