Magento: Guides and Practical Know-how | Page 32 | mironsoft Blog
Magento
-
Aug 18, 2025
Backorders allow selling items whose stock has already dropped to zero, protecting revenue while putting lead-time uncertainty on the customer. Technically, backorder configuration reaches deep into reservations and MSI, and enabling it without control risks inventory chaos rather than revenue gains. This article walks through the configuration levels, customer communication, and the concrete risks in detail.
-
Aug 18, 2025
Magento's DI container creates shared objects by default, and that is singleton behavior. Where it is useful, where it causes problems, and how to cleanly refactor legacy singletons.
-
Aug 16, 2025
Anyone who resolves GraphQL filters in Magento naively through raw SQL or direct model queries builds up technical debt. The correct path runs through the SearchCriteriaBuilder, with type-safe arguments in the schema, clean delegation in the resolver and testable filter logic in the service contract.
-
Aug 13, 2025
A resilient Amazon and eBay integration is more than a product export: Magento has to act as the single source of truth for product data, while the marketplace stays authoritative for orders. This article walks through the architecture of a custom-built marketplace integration using Service Contracts, queue-based order sync and rate-limit handling for Amazon SP-API and eBay Trading API.
-
Aug 13, 2025
Anyone who wants to understand order numbers, invoice numbers, or custom entity IDs in Magento 2 cannot avoid sequence tables: dedicated single-column tables that atomically reserve AUTO_INCREMENT values while being completely decoupled from the internal primary key of the entity table. This article explains the architecture of sequence_meta and sequence_profile, shows a custom sequence table for a custom entity via db_schema.xml and a data patch, and provides concrete SQL commands for diagnosis and repair in production.
-
Aug 13, 2025
The Registry Pattern was omnipresent in Magento 1 and is deprecated in Magento 2. When it made sense, which problems it causes and what you should use instead.
-
-
Aug 12, 2025
Magento integration tests built on XML fixtures are fragile, hard to maintain and barely readable. PHP based fixtures, the DataBuilder pattern and consistent use of the ObjectManager produce test data that is readable, reliable and easy to adjust, without fixture files that break after every schema update.
-
Aug 11, 2025
A single system cron entry is not enough for a Magento shop with dozens of background jobs. Only well thought out cron job scheduling strategies with clearly separated cron groups, sensible intervals and configurable schedules prevent long running jobs from blocking each other and delaying critical tasks.
-
Aug 11, 2025
Pagination is not a minor detail in GraphQL. Anyone who simply writes offset and limit into the schema has a working solution, but not a robust one. Cursor-based pagination following the Relay specification takes more effort, but it solves exactly the problems that offset pagination creates as data volumes grow and concurrent writes happen.