Magento 2 TutorialsMarch 8, 2024Simon Walker

A Step by Step Guide to Installing Hyvä Theme in Magento 2

A Step by Step Guide to Installing Hyvä Theme in Magento 2

Introduction to Hyvä Theme

Most eCommerce store owners prefer Magento 2 due to its customizability. You can customise every aspect of the store to suit your unique requirements. However, custom Magento 2 development can be quite costly. If you don’t have the budget for it but still wish to benefit from Magento 2, we recommend using pre-built themes.

Default Magento 2 Themes

By default, Magento 2 offers two themes:
  • Luma (a fully responsive theme)
  • Blank (a basic theme which you can use as a foundation to create your own theme)

However, we recommend against using the default themes. The main reason is that these themes prevent your store from being different. In the world of eCommerce, uniqueness is often a key source of competitive advantage. When you are using default themes, you are taking away that uniqueness.

Secondly, the default themes are in no way perfect. They are not built with performance considerations in mind. Resultantly, your store’s loading time and online visibility may be impacted. Third, Magento 2 might not offer support for addressing queries related to customisations.

However, there is no need to worry as there are numerous expert Magento 2 theme development companies. These companies offer themes with a focus on performance, security, customisability, flexibility, and more. A lot of Magento 2 stores now run using these themes.

Hyvä Themes – A Modern Theme

When it comes to Magento 2 themes, Hyvä Themes is a popular choice. It is a modern, performance-focused theme for Magento 2, designed to enhance the speed and user experience of online stores. It is lightweight and highly customisable that offers a responsive design to ensure websites function well across various devices.

We encourage you to try its demo before purchasing it. This will provide you with an opportunity to experience the theme firsthand. There are several other things to love about this, including its emphasis on security with regular updates and bug fixes. Additionally, it has an active community providing support and resources.

Hyvä Themes represents a shift from traditional, often bloated Magento themes, aiming to simplify and improve the front-end development process for Magento 2 webstores. If you are looking to avoid costly Magento 2 custom theme development, then Hyvä Themes is your best option.

The Pros and Cons of Hyvä Theme

The Hyvä theme for Magento 2 offers several pros and cons:

Pros:

  • Speed and Performance: Hyvä is optimized for speed, enhancing user experience and potentially increasing conversion rates.
  • Active Community: It has a supportive community offering access to resources and collaboration opportunities.
  • Responsive Design: The theme ensures sites look and function well on all devices.
  • Security: Hyvä is designed with a focus on security, featuring regular updates and bug fixes.
  • Customization: Offers extensive customization options to tailor sites to specific needs.

Cons:

  • Custom Extensions: Custom extensions may require manual editing to work with Hyvä, demanding time and technical expertise.
  • Dependency: Heavy reliance on Hyvä might make it challenging to switch to other themes in the future, as the site becomes too integrated with the Hyvä framework.

How to Install Hyvä Theme in Magento 2?

Before we delve into the installation process, let's see the prerequisites for installing the theme. Prerequisites
  • Magento Version: Ensure you have Magento 2.4.3 CE or higher.
  • License: Obtain a valid license for Hyvä Themes.
  • Access: For licensees, a Private Packagist Key is required. For partners, access to Hyvä Gitlab is needed.

Installation Process

1. Access Hyvä Repositories: Visit gitlab.hyva.io to get access to all Hyvä repositories.

2. Use Composer for Installation: Execute the following composer commands to install Hyvä from GitLab:

composer config repositories.hyva-themes/magento2-theme-module git git@gitlab.hyva.io:hyva-themes/magento2-theme-module.git

Repeat this step for other Hyvä modules like magento2-reset-theme, magento2-email-module, and magento2-default-theme.

3. Magento Setup: Run bin/magento setup:upgrade from your project’s root directory.

4. Activate Theme: Navigate to Content > Design > Configuration in Magento and activate the Hyvä/default theme.

We understand that it can be quite challenging to install a Magento 2 theme if you are not well versed in Magento 2. That is why FME Extensions offers Magento Theme Installation services. Just click on the link, share your requirements, and our experts will get back to you shortly.

Installing Hyvä-Compatible Extensions

  1. Backup Your Website: Always start by creating a backup.
  2. Prepare for Installation: Log in to the SSH console of your server and navigate to the root directory of your Magento 2 store.
  3. Install Extension for Hyvä: Use the composer command composer require fme/module-ExtensionName-hyva-compatibility. Replace "ExtensionName" with your desired module. For example, if you want to install the Product Labels module, the command will be composer require fme/module-productlabels-hyva-compatibility
  4. Enable Hyvä Modules: Use the command bin/magento module:enable fme/module-ExtensionName-hyva-compatibility, again replacing "ExtensionName" appropriately.
  5. Update Database: 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

  1. 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

At the end, clear the cache by running the following command:

bin/magento cache:flush

Conclusion

Following these steps will allow you to enjoy the enhanced performance and speed of your Magento 2 webstore with Hyvä Theme. Remember to always check for compatibility and maintain regular backups during the installation process. Contact us if you have queries related to Hyvä Theme installation or any other aspect of your Magento 2 store.