Unlocking the Potential: A Step-by-Step Guide to Setting Up Hyvä on Your Magento 2 Webstore

Table of Content

installing hyva on magento 2

Are you looking to enhance your Magento 2 webstore's performance and speed? Look no further than Hyvä, a lightweight and customizable theme designed to improve the user experience. In this article, we'll guide you through the process of setting up Hyvä on your webstore.

Maximize the potential of your website with our Hyvä Magento 2 extensions! Get set to revolutionize your online presence and skyrocket your success.

Pros and cons of installing Hyvä Theme Magento 2


  • Speed: Hyvä Themes is optimized for speed and performance, which can improve the overall user experience and increase conversion rates.hyva performance
  • Community: Hyvä Themes has an active and supportive community, providing users with access to resources, support, and the ability to collaborate with other users.
  • Responsive design: Hyvä Themes is built with responsive design in mind, ensuring that your site looks and functions well on all devices, including mobile and tablet.
  • Security: Hyvä Themes is designed with security in mind, with regular updates and bug fixes to ensure that your site remains secure and protected from threats.
  • Customization: Hyvä Themes offers a range of customization options, allowing users to tailor their site to their specific needs and preferences.


  • Custom extensions: Custom extensions may need to be manually edited and updated to work with the new front-end, which can be time-consuming and require technical expertise.
  • Dependency: If you rely heavily on Hyvä Themes, it may be difficult to switch to another theme in the future, as your site may have become too reliant on the framework.

Overall, Hyvä Themes can be a good choice for those looking for a fast, user-friendly, and customizable e-commerce theme framework with an active community. However, users should be aware of the potential downsides, including the need to manually update custom extensions.


Magento 2.4.3 CE or higher

A valid license for Hyvä Themes (Check here: https://hyva.io/license)

For licensees: A Private Packagist Key

For partners: Access to Hyvä Gitlab

For Licensees

See the following link.

For technology partners

The first thing you need is access to gitlab.hyva.io. You will need to contact the Hyvä team if you do not have access to the repo.

! Note that you need to make sure your SSH key is set in your Hyvä GitLab account, as well as on github.com. If you are using Docker, check that you are using the SSH key available in the PHP container running Composer.

hyva installation

Installation via composer: 

Step 1. Get access to all Hyvä repositories at gitlab.hyva.io.

Step 2. Run the following commands to install Hyvä directly from GitLab with composer:

# hosted on private gitlab:

composer config repositories.hyva-themes/magento2-theme-module git [email protected]:hyva-themes/magento2-theme-module.git

composer config repositories.hyva-themes/magento2-reset-theme git [email protected]:hyva-themes/magento2-reset-theme.git

composer config repositories.hyva-themes/magento2-email-module git [email protected]:hyva-themes/magento2-email-module.git

composer config repositories.hyva-themes/magento2-default-theme git [email protected]:hyva-themes/magento2-default-theme.git

composer require hyva-themes/magento2-default-theme --prefer-source

Step 3. Run bin/magento setup:upgrade from your project’s root.

Step 4. Go to the Content > Design > Configuration section and activate the hyva/default theme.

How to install Hyvä-compatible extensions?

Step 1: Prepare for Installation

Make sure you have a backup. This will help you restore your website in case something goes wrong during the installation process. Once you have your backup, log in to the SSH console of your server and go to the root directory of your Magento 2 store.

Step 2: Install the Extension for Hyvä

Run the command:

composer require amasty/module-ExtensionName-hyva-compatibility

Replace "ExtensionName" with the module you want to install for Hyvä compatibility. For example, if you want to install the Stock Status module, the command will be:

composer require amasty/module-stockstatus-hyva-compatibility

Step 3: Enable the Installed Hyvä Modules

Run the following command to enable the installed Hyvä modules:

bin/magento module:enable amasty/module-ExtensionName-hyva-compatibility

Replace "ExtensionName" with the module you have installed for Hyvä compatibility. For example, if you have installed the Stock Status module, the command will be:

bin/magento module:enable amasty/module-stockstatus-hyva-compatibility

Step 4: Update the Magento Database Schema and Data

After enabling the Hyvä modules, update the Magento database schema and data with the command:

bin/magento setup:upgrade

bin/magento hyva:config:generate -f 

Step 5: Installation [Deploy]

Deploy the static view files by running the following commands:

rm -rf pub/static/* var/view_preprocessed/*

php -f bin/magento setup:static-content:deploy

Compile the code of the installed extension with the following command:

bin/magento setup:di:compile

Finally, clear the cache with the following command:

bin/magento cache:flush

! Some extensions are implemented through GraphQL functionality and require the GraphQL package to be installed.

For more information please refer to the changelog or the extension's guide.

In conclusion

Installing Hyvä on your webstore can improve your website's performance and speed. With this step-by-step guide, you can easily install Hyvä and its compatible modules on your website. Remember to check for compatibility and backup your website before installing Hyvä. With these precautions in place, you'll be able to enjoy the full benefits of Hyvä on your Magento 2 store. 

May 18, 2023
January 18, 2023
January 18, 2023
Leave your comment

Your email address will not be published

This blog was created with Amasty Blog Pro

This blog was created with Amasty Blog Pro