Answers

We have collected answers for all the possible frequently asked questions related to Magento, Shopify, PWA, & Hyva and we're excited to share them with you.

How can I install Hyvä Checkout on my Magento 2 store?

Follow the steps to install Hyvä Checkout on your Magento 2 store:

  1. Run the command composer require hyva-themes/magento2-hyva-checkout.
  2. Disable Magento HTML minification in the configuration settings “Advanced > Developer > Template Settings > Minify Html”, or run bin/magento config:set dev/template/minify_html 0.
    This is only required if HTML minification is currently turned on (it is turned off by default).
  3. Run the command bin/magento setup:upgrade.
  4. Run tailwind to generate checkout styles, 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
  1. For Admin configuration, go to Stores > Configuration > Hyvä Themes > Checkout.
  2. In the General section, change the Checkout selection from Magento Luma (original) to “Hyvä Default”. 

If you also created custom checkouts based on Hyvä Checkout, they will also be listed as options. In such a case, you can select that.

  1. Finally, save the configuration!

After changing any setting, make sure to clear the cache.