One of the key pillars of Magento 2 is its Dependency Injection (DI) system.Thanks to it, the platform remains flexible and scalable. However, this system relies on a set of sometimes mysterious files — the famous di.xml files. These files contain the configuration...
A new RFC proposes adding clamp() as a native function in PHP. This function would constrain a value within a defined range — just like in many modern languages (JavaScript, Kotlin, Rust…). clamp($value, $min, $max); // returns $min, $max or $value depending on the...
Last week, we looked back at Magento’s journey since 2007 (read that article here if you haven’t yet). That was the past. Now let’s talk about the future.Where is Magento headed? What are Adobe’s plans? And what role will the community play? From Adobe Commerce to a...
Migrating to Magento 2.4.8 is not just a formality, even for seasoned platform users. Here’s a detailed experience feedback, with a healthy dose of pragmatism (and a touch of humor), to help you avoid classic pitfalls and make the most of this version’s new features....
In Magento 2, breadcrumbs on the product page are generated dynamically based on the user’s navigation path, which allows displaying a contextual trail based on the entry category. However, this logic poses a problem: the same product can belong to multiple...