A few days ago a client complained their Magento website was suffering from a bot attack in the checkout with the credit card payment. They received thousands and thousands (I mean, thousands, like more than 30 thousand) of failed transaction emails in their email inbox. They immediately asked for our help to investigate and apply …
Category: Magento 2
Magento 2 Development
“Use Default Value” for Multi Select Attributes Doesn’t Save for Store Scope View in Magento 2 Commerce (Enterprise) Edition
A few days ago I worked on a very interesting issue for a client in Magento 2 Commerce Edition. Basically, they have some multi-select product attributes and these attributes allow the admin user to add different values depending on the Store View because when these attributes were created, they were set to Store View in …
Finding the Villain Commit in the Magento 2 Codebase Using the GIT Bisect
A few days ago I was working as usual from my home office. I was entertained working on an investigation for a non-critical bug for one of our clients. Suddenly a Slack message popped up on my screen: "We have a critical bug happening on production for this given client that started happening after the …
Continue reading Finding the Villain Commit in the Magento 2 Codebase Using the GIT Bisect
Exploring the New Horizons: Magento 2.4.6 Overview
Magento, the powerhouse of e-commerce solutions, continues its journey of evolution and enhancement with the release of version 2.4.6. Packed with new features, improvements, and bug fixes, this version promises to elevate the e-commerce experience for both merchants and developers. In this blog post, we'll dive into the key changes introduced in Magento 2.4.6, shedding …
Continue reading Exploring the New Horizons: Magento 2.4.6 Overview
Static Content Generation gets too slow after upgrading to Magento 2.4.5
Recently I worked on a project which was being implemented in Magento 2.4.5 version. This project was based on Magento Cloud and after making a deployment there, I noticed that the deployment took more than 1 hour to complete and I found it very intriguing. Commonly, when the project is in good health of performance, …
Continue reading Static Content Generation gets too slow after upgrading to Magento 2.4.5
Optimizing Performance: A Few (and Good!) Tips for Speeding Up Your Magento 2 Store
In the competitive world of e-commerce, a fast and responsive website is essential for retaining customers and driving sales. Slow loading times can lead to higher bounce rates and abandoned carts. Fortunately, Magento 2 offers a range of optimization techniques to enhance the performance of your online store. In this blog post, I will list effective strategies to speed up your Magento 2 store, without digging too much into any of them.
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 …
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 …
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