Magento Configuration, Magento Frontend Development

How to Update/Reload Magento 2 Mini Cart Programmatically

When developing a custom solution, whether it is a theme or a module, developers need to implement logic that adds a new product or modifies the quantity of the product in the cart. It may seem a straightforward task, but developers often face an issue where changes in the mini cart aren't reflected.

This article will explore the most frequent reason why the updated mini cart data may not be visible on the frontend and provide step-by-step instructions on how to reload Magento 2 Mini Cart programmatically.

Magento Catalog, Magento Configuration, Magento Frontend Development

How to Customize Product Page Layout in Magento 2

Often, websites need tailored design solutions to create a user-friendly website that makes sales. However, pre-built modules or themes can’t always fulfill all the website’s needs and create a seamless user experience. In such cases, the best decision is customization.

One of the most frequent requests is to customize the Magento 2 product page. This can be done in two ways: by creating a custom module or a custom theme. While both methods are useful and effective, this tutorial will focus on the second method. Using a custom theme is often the best option if the primary goal is to alter the arrangement, style, and general look of your product pages.

Hyvä Theme, Magento Frontend Development

How to Create a Custom Hyvä Theme

Creating a custom theme using the Hyvä frontend in Magento 2 involves several steps. It includes setting up the development environment, creating and enabling the child Hyvä theme, and more. Following them is important to create a proper and effective custom Hyvä theme for your store.

So, this tutorial walks you through each step so you can easily develop a custom Hyvä theme with a unique, high-performance design tailored to your store.

Hyvä Theme, Magento Frontend Development

Magento Hyvä Migration Made Easy: Best Practices for a Smooth Transition

Hyvä is a modern Magento 2 theme developed to improve performance and page load speed. It is built using Tailwind CSS and Alpine.js - cutting-edge technologies that help reduce complexity and code size compared to ordinary Magento 2 themes.

The usage of up-to-date approaches for web development makes Hyvä flexible and easy to maintain. Moreover, it significantly enhances the user experience on the website thanks to streamlined page load times and smooth navigation.

Magento Frontend Development

How to Translate Magento 2 Extensions Using CSV Files

Generally, Magento uses a translation dictionary so that you can localize your store. This dictionary is a .csv file with two columns: the original text in the source (en_US) locale and the translation of that text in a target locale. Therefore, you need to perform Magento 2 CSV files translation by adding and applying the translation phrases.

Magento Frontend Development

How to Translate Magento 2 Extension Using Theme Translation Files

In this article you will learn how to perform Magento 2 theme files translation.

Usually, the translations are being stored in the .csv files on your server. However, if for some reason there's no CSV translation file translated for your language - you will need to create the .csv file from scratch. To create the CSV translation file - please follow the steps below.

Magento Frontend Development

How to Translate Magento Extension Using Theme Translation Files

In this article you will learn how to perform Magento 2 theme files translation. Usually, the translations are being stored in the .csv files on your server. However, if for some reason there's no CSV translation file translated for your language - you will need to create the .csv file from scratch. Here's a quick guide to creating the .csv translation file and applying the translated phrases.