10 reasons why it’s crucially important to upgrade your Magento 2 to a newer version

Upgrading to a newer version is not just about staying current; it's a critical step to ensure your online store's success, security, and performance. In this blog post, we will explore ten compelling reasons why merchants must upgrade their Magento 2 store and the potential consequences of not doing so. Security Enhancements: One of the …

Continue reading 10 reasons why it’s crucially important to upgrade your Magento 2 to a newer version

How to fix “Text fields are not optimized for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default.” in Magento 2

A few days ago, I came across an issue in a Magento 2 project where the client complained that no products were being displayed when a customer searched for anything on the site. The most curious part is that this only happened in their production environment. Everything was working fine in their staging environment, which …

Continue reading How to fix “Text fields are not optimized for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default.” in Magento 2

Guide to File Download in Magento 2: Code Examples and Explanation

While working as a Magento 2 developer, you may often encounter scenarios where you must enable file downloads on your Magento 2 store. Whether it's a product downloads, user-generated content, or any other downloadable files, providing a seamless download experience is crucial. In this blog post, we will explore the process of enabling file downloads …

Continue reading Guide to File Download in Magento 2: Code Examples and Explanation

Generating Unique Hashes in Magento 2 Programmatically

Occasionally, we often encounter scenarios where generating unique hash tokes is necessary. Hash tokens play a crucial role in various aspects of Magento 2 development, such as security, URL generation, form submission, and more. In this blog post, we will explore different methods to generate unique hash tokens in Magento 2, ensuring their uniqueness and …

Continue reading Generating Unique Hashes in Magento 2 Programmatically

Debugging a Magento 2 Cloud Application with Xdebug and PhpStorm

As a senior Magento 2 developer, one of the essential skills you need in your toolbox is the ability to efficiently debug your code. Magento Cloud, a powerful cloud-based hosting platform for Magento applications, requires a specialized approach to debugging. In this blog post, we will explore how to set up and use Xdebug with …

Continue reading Debugging a Magento 2 Cloud Application with Xdebug and PhpStorm

A Comprehensive Guide to Installing and Enabling Magento 2 Multi-Source Inventory (MSI)

As an experienced Magento 2 senior developer, I understand the significance of efficient inventory management for an e-commerce store. One powerful tool that Magento 2 offers is the Multi-Source Inventory (MSI) feature. MSI allows you to manage and track inventory across multiple physical locations or warehouses seamlessly. In this blog post, we will delve into the step-by-step process of installing and enabling the Magento 2 Multi-Source Inventory packages.

A Comprehensive Guide to Magento 2 MSI (Multi-Source Inventory)

In the ever-evolving world of e-commerce, inventory management plays a critical role in ensuring a seamless customer experience. For Magento 2 developers, and merchants, the introduction of Multi-Source Inventory (MSI) has revolutionized the way inventory is handled. I had the opportunity to work with MSI recently and I found it pretty interesting so I decided to write about it and share my understanding with anyone who may be interested in learning more about it. In this blog post, we will explore the fundamentals of Magento 2 MSI, its purpose, and its significant benefits for businesses. Also, I'll give you an example to illustrate how it works currently.

Front Controller: the guy who handles the request in Magento 2

If you're a developer who has some experience in coding in Magento you probably have met this class before and, maybe you noticed its importance in the application, maybe not. The fact is, the Front Controller in Magento 2 plays a huge responsibility in the Magento 2 application and I'm gonna talk a little bit …

Continue reading Front Controller: the guy who handles the request in Magento 2

After some years, I finally got back to writing on my blog

It has been a long time since that young boy started this blog more than 10 years ago to write about Magento 1 development. At that time, there was no official documentation provided by the Magento Company (the Magento Company belonged to Permira Funds back in 2012), and a Magento developer's life was based on …

Continue reading After some years, I finally got back to writing on my blog