Skip to content

Installation

Hyvä Enterprise is a stand-alone commercial product, currently available through an Early Access program.

Enterprise for Hyvä Themes

Hyvä Enterprise for Hyvä Themes consists of 3 metapackages (Commerce, B2B & Sensei) which can be installed via your Hyvä packagist.com license key.

  1. Install and configure all the relevant prerequisites above, including Hyvä Themes.

  2. Run the command

    For Commerce only (no B2B or Sensei)

    composer require hyva-themes/magento2-hyva-enterprise-commerce
    
    For B2B, run
    composer require hyva-themes/magento2-hyva-enterprise-b2b
    
    For Sensei, run
    composer require hyva-themes/magento2-hyva-enterprise-sensei
    

    !!! tip "Both B2B and Sensei require (depend) on the base Commerce package You do not need to specifically require the Commerce package via composer if either of B2B or Sensei are utilised.

  3. Run the command

    bin/magento setup:upgrade
    

  4. Execute tailwind to generate the styles for all compatibility modules, replacing
    vendor/hyva-themes/magento2-default-theme/web/tailwind/ with the path to your theme's web/tailwind folder:

    npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ ci
    npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build-prod
    

Enterprise Hyvä Checkout

Hyvä Enterprise for Hyvä Checkout consists of 2 metapackages (Commerce & B2B*) which can be installed via your Hyvä packagist.com license key.

* Sensei in review

Sensei is still in the investigatory phase to determine if any code changes are required to support it.

  1. Install and configure all the relevant prerequisites above, including Hyvä Themes and Hyvä Checkout.

  2. Run the command

    For Commerce only (no B2B)

    composer require hyva-themes/magento2-hyva-enterprise-commerce-checkout
    
    For B2B, run
    composer require hyva-themes/magento2-hyva-enterprise-b2b-checkout
    

    B2B requires (depends) on the base Commerce package

    You do not need to specifically require the Commerce package via composer if B2B is utilised.

  3. Run the command

    bin/magento setup:upgrade
    

  4. Execute tailwind to generate the styles for all compatibility modules, replacing
    vendor/hyva-themes/magento2-default-theme/web/tailwind/ with the path to your theme's web/tailwind folder:

    npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ ci
    npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind/ run build-prod
    

Checkout admin configuration

If you are utilising Customer Custom Attributes, it is recommended to configure the attributes you wish to display on the checkout address forms.

The admin configuration for both shipping and billing address forms can be found at 'Stores > Configuration > Hyvä Themes > Checkout > Components' under the respective shipping/billing groups.

Customer Custom Attributes is not yet fully supported at checkout

For more information see our compatibility tracker.