Magento: Guides and Practical Know-how | Page 42 | mironsoft Blog
Magento
-
May 10, 2025
Magento GraphQL resolvers implement a simple, well-defined interface that can be tested directly with PHPUnit, without ever building the complete schema, once field resolution and data fetching are cleanly separated.
-
May 9, 2025
Redis and Varnish are often pitted against each other in Magento discussions, yet they solve fundamentally different problems. Redis is the cache and session backend for object cache and full page cache storage, Varnish is the HTTP layer in front that delivers whole pages before Magento even starts. This article explains the clean role split.
-
May 8, 2025
The official Magento system requirements list only names version numbers, yet a great deal of configuration work on the Linux server sits between those numbers and a working shop. This article translates PHP extensions, memory_limit, OpenSearch, Redis and Varnish into concrete commands and configuration files, and closes with a pre-flight checklist that catches setup mistakes before the first deployment.
-
May 8, 2025
Magento 2 currency conversion looks like a simple factor between two numbers at first glance, but in practice it is an interplay of base currency, rate import, rounding rules and price rules that must be configured differently per store. Anyone who confuses base currency and display currency risks price drift with every rate update and discount rules that apply in the wrong currency.
-
May 8, 2025
The build stage is the foundation of the entire deployment process. Anyone who relies on server dependencies here, carries an undefined Node cache along, or runs DI Compile on the production machine creates risks that later surface as deployment problems. A clean build stage produces a complete artifact that does not depend on the server.
-
May 7, 2025
Anyone who builds a custom Hyva theme from scratch, rather than inheriting the Hyva Default Theme as parent, gains full control over every line of markup and Tailwind class, but gives up fallback templates that would otherwise kick in automatically.
-
May 3, 2025
Magento's default OpenSearch mapping treats almost every attribute the same, whether it is a paragraph of body copy, a SKU suffix or a technical internal code. Anyone who wants real control over search quality, facets and relevance needs to understand how attributes map to field types and build a custom OpenSearch attribute mapping with the right analyzers.
-
May 3, 2025
Unlike Adobe Commerce, Magento Open Source ships no built-in tool for the right of access or erasure, even though both rights are clearly regulated under the GDPR. A custom data export service, an anonymization concept that respects retention obligations, and traceable consent management can be cleanly anchored in the shop with PHP 8.4, service contracts and a dedicated cron job.
-
May 2, 2025
Using PHPUnit in PhpStorm is trivial when PHP is installed locally. With Docker interpreters, Magento-specific bootstrap files and integration tests that require a running database, the configuration becomes more complex. This guide shows how to solve each of these cases cleanly.
-
May 1, 2025
Not every compatibility module deserves a place in production. Anyone who enables Luma fallbacks blindly instead of auditing them deliberately pays with load time, CSP violations, and unnecessary maintenance effort for rendering paths that no customer ever sees.