Magento: Guides and Practical Know-how | Page 9 | mironsoft Blog
Magento
-
Apr 8, 2026
Magento 2 ships with no subscription engine out of the box, subscription products have to be developed as a standalone module. This article shows how a data model, Service Contracts, cron billing and Vault tokenization for recurring payments are implemented cleanly in Magento 2.4.8. The focus is on Service Contracts, declarative schema and GraphQL mutations for customer self service.
-
Apr 7, 2026
Headless architectures fully separate the frontend from the backend and communicate through APIs, giving development teams great freedom in choosing frontend technology, while simultaneously shifting responsibility for things a classic, server-rendered system like a standard Magento theme delivers automatically. This article describes which rendering strategy fits which use case, how URL structure stays consistent between backend and frontend, and which SEO regressions occur most often during a migration to headless.
-
Apr 7, 2026
Persisted Queries solve two problems at once: they reduce the amount of data transferred and close a security gap that is often overlooked in public GraphQL APIs. Anyone who accepts arbitrary queries hands attackers a free pass. Anyone who only allows known queries gains control, without sacrificing flexibility entirely.
-
Apr 6, 2026
Magento 2 has shipped a solid, native two-factor module for several versions, but it exclusively protects the admin area. No comparable built-in solution exists for customer accounts, even though stores with saved payment data, store credit balances, or sensitive B2B order data have a legitimate interest in additionally securing the storefront login. This article shows how to wire a custom TOTP-based two-factor authentication for customer accounts cleanly into the existing authentication flow, including the UX trade-off between mandatory and opt-in, plus a well thought out recovery code concept.
-
Apr 5, 2026
A custom Magento 2 REST endpoint needs more than just a URL. What matters is a service contract, webapi.xml, ACL, clean dependency injection and a clear authentication strategy.
-
Apr 5, 2026
A Vue Storefront is more than an SPA skeleton in front of the Magento API. Teams that separate rendering model, GraphQL data layer, caching and routing from day one build a storefront that stays fast at tens of thousands of products and can be extended without a rebuild.
-
Apr 4, 2026
Redis handles three distinct roles in Magento at once: session storage, object cache backend, and optionally Full Page Cache. Storing all three roles in the same database risks tag collisions, unnecessary cache flushes, and in the worst case logged-out customers from lost sessions. This article shows how to configure, monitor, and protect Redis in Magento from running out of memory.
-
Apr 3, 2026
Claude can take a lot of routine work off your hands in Magento 2 module development: setting up folder structures, generating plugin and observer skeletons, and explaining unfamiliar core classes. Giving it the right DI conventions and service contract patterns as context produces noticeably more usable suggestions than generic PHP requests.
-
Apr 2, 2026
A distributed GraphQL schema without a central checkpoint will eventually be broken by a single team without anyone noticing. A GraphQL schema registry makes every schema change visible, testable, and blockable before it reaches production traffic, whether you run Apollo Studio as a managed service or Hive as a self-hosted open source alternative.
-
Apr 1, 2026
Integrating custom fields into the customer types, securing resolvers with token validation, exposing extension attributes correctly, and protecting sensitive data at the field level, all in one hands-on practical article.