Magento: Guides and Practical Know-how | Page 13 | mironsoft Blog
Magento
-
Feb 28, 2026
GraphQL and caching are often seen as a difficult pair, because every request hits the same endpoint and CDNs do not cache POST requests by default. With the right combination of application-level resolver caching and edge caching through persisted queries, the problem can be solved systematically.
-
Feb 27, 2026
Magento stores search synonyms per store view in a dedicated database table and translates them into an Elasticsearch synonym filter during index building. Anyone who does not understand this mechanism ends up maintaining synonyms that never take effect, either because a reindex is missing or because they hit the wrong store view. This article walks through the complete path from the admin interface to the analyzer configuration inside the Elasticsearch index.
-
Feb 26, 2026
A single, pre-checked, or combined terms and conditions checkbox at checkout is a legal risk that gets worse in a Hyvä theme when server-side validation is missing. This article shows how such a mandatory field is implemented on top of Magento's checkout_agreements mechanism, an extended Alpine.js component for multiple mandatory fields, and a server-side PHP plugin, so customers must actively consent and an order cannot complete without a genuine confirmation.
-
Feb 25, 2026
Magento product data increasingly determines whether an AI shopping assistant like ChatGPT Shopping or Perplexity Shopping can even find and correctly recommend a product. Incomplete product schema, gaps in attributes, and outdated price data cause a Magento store to be excluded from AI-driven product queries, even when the product would perfectly match the request in substance.
-
Feb 23, 2026
The Hyvä minicart replaces Knockout templates and customer-data sections with a lean Alpine.js component model that loads its data directly through a GraphQL cart query. Anyone customizing it works with minicart.phtml, Alpine state and layout XML instead of Knockout observables, RequireJS modules and UI components, and gets a component that can be extended in a targeted way: icon, slide-in behavior, cross-sell content and quantity changes.
-
Feb 23, 2026
Magento admin workflows like product creation, order management and catalog price rules determine revenue and data integrity even though customers never see them. End to end tests with Cypress or Playwright close exactly the gap that PHPUnit integration tests leave open: session handling, grid interactions and mass actions in a real browser, with clear prioritization by maintenance cost and business risk.
-
Feb 23, 2026
A sticky checkout summary sounds like a single CSS line, yet position sticky regularly breaks in checkout due to overflow containers, wrong height calculations and stacking context traps. With dvh units, a clean scroll container and the right grid structure, the cart overview stays reliably visible while the user scrolls through the checkout steps.
-
Feb 22, 2026
A technically correct search that still shows the wrong products first costs revenue without ever showing up in an error log. Tuning search relevance in Magento 2 means understanding the underlying multi_match query, weighting attributes deliberately, and letting business signals such as sales figures and stock levels actively shape ranking.
-
-
Feb 22, 2026
Writing GraphQL queries without schema autocompletion means keeping field names in your head and only seeing errors at runtime. PhpStorm with the GraphQL plugin validates queries statically against the schema, completes fields and arguments, and lets you fire HTTP requests directly from the IDE, without Postman or a browser devtool.