Magento: Guides and Practical Know-how | Page 43 | mironsoft Blog
Magento
-
May 1, 2025
The order success page is the moment with the highest attention throughout the entire checkout: the customer has just made a purchase but is still on the page. Anyone who uses this moment for conversion tracking, cross-sell, and customer retention, without Knockout.js, jQuery, or UI components, but with clean Hyvä patterns built from ViewModels, layout XML, and Alpine.js, gets noticeably more out of the order success page than with the standard Luma output.
-
Apr 30, 2025
A misconfigured session backend is one of the most common yet hardest to diagnose causes of slow Magento shops. Session locking, timeout values and the break_after_frontend parameter decide whether parallel Ajax requests within a session block each other or run cleanly side by side. This article shows step by step how to correctly configure the Redis session backend.
-
Apr 30, 2025
A single accidental commit containing database credentials or the crypt key from app/etc/env.php can compromise an entire Magento project, even after the repository is later set back to private. This article explains which files must never end up in Git, what a clean gitignore baseline looks like, and how a secrets manager and pre commit scanning reliably prevent it.
-
Apr 29, 2025
Anyone building a custom payment method for Magento 2 pours most of their care into checkout, authorization, and capture, because that is where revenue is created. Refund handling is often treated as a minor afterthought and bolted on later as a simple API call, without really engaging with the command pattern that underpins Magento's payment gateway architecture. That neglect catches up eventually: misbooked credit memos, duplicate refunds, or partial refunds that do not line up with the right shipment are common in payment integrations that grew organically. This article shows how to structure refund handling correctly along the command pattern, including partial refunds and robust error handling.
-
Apr 28, 2025
Running a Magento store without focusing on Core Web Vitals costs you visibility in Google Search and revenue through cart abandonment. LCP, INP, and CLS have been direct ranking factors since the Page Experience update - with clear thresholds, measurable causes, and concrete optimizations for Magento and Hyvä stores that stay stable under load.
-
Apr 24, 2025
Duplicate content in Magento stores splits ranking signals across multiple URLs, wastes crawl budget, and keeps the right page from showing up in search. Multiple store views, URL parameters, parallel HTTP and HTTPS, and products assigned to several categories create typical duplicates that can be fixed with canonical tags, clean 301 redirects, and the right Magento configuration.
-
Apr 23, 2025
A custom GraphQL mutation in Magento 2 is more than a new endpoint: it ties schema declaration, resolver logic, validation, transaction safety and cache invalidation together into one consistent whole. Anyone who separates these building blocks cleanly ends up with a mutation that feels like a native Magento feature and runs reliably in production storefronts.
-
Apr 22, 2025
Anyone who wants to customize an invoice PDF inevitably ends up at Pdf\AbstractPdf, Pdf\Invoice, and Zend_Pdf, not at the sales business logic. This article shows how a targeted preference instead of a full class copy extends PDF generation, how custom renderers get registered via di.xml, and how invoice PDFs can be generated performantly via CLI batch or message queue instead of synchronously in checkout.
-
Apr 22, 2025
As soon as multiple campaigns with overlapping time windows are being prepared at once, a single scheduled update in Content Staging stops being enough. With a clear structure for parallel staging updates, conflict detection and an approval process, campaign planning stays manageable even with several running actions at the same time.
-
Apr 21, 2025
PhpStorm's remote host integration with automatic SFTP upload is powerful, and dangerous if used the wrong way. This article explains which scenarios the feature is built for, where its limits lie, and at what project size a Git-based CI/CD pipeline becomes the clearly better choice.