Hyvä: Guides and Practical Know-how | Page 8 | mironsoft Blog
Hyvä
-
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
A broken link does not have to be a dead end. With GraphQL-based search suggestions, the 404 page in a Hyvä theme turns from a plain error message into an active rescue point for visitors who would otherwise bounce without a word.
-
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.
-
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 25, 2025
Anyone migrating from Luma to Hyvä inevitably runs into Knockout-based UI components: jsLayout XML, ko templates and RequireJS modules that Magento has used for years to power dynamic storefront widgets. This guide shows how to read existing UI components, understand their logic and systematically replace them with native Hyvä templates using Alpine.js, including worked examples, a third-party strategy and a rollout checklist for larger stores.
-
Apr 23, 2025
In Hyva theme projects, a bug rarely lives cleanly on one side: is a Tailwind class generated wrong, or does the watcher simply never see it? PhpStorm can bundle an Xdebug session and a Node process into a single Compound configuration so both sides pause in sync.
-
-
Apr 18, 2025
Hyva ships a minicart and a wishlist out of the box, but a ready-made compare feature is nowhere to be found in the default theme. If your catalog needs one anyway, do not start from scratch: build on Magento's native compare product API and wire it up with a clean Alpine store and a responsive table.
-
Apr 15, 2025
Hyvä's stock order history shows a rough order status but no tracking number and no delivery timeline. This article shows how to load shipment and track data efficiently via GraphQL, how a carrier code to tracking URL mapping looks as a view model, and how an Alpine component turns that into a readable status timeline. Rounded off with partial deliveries, caching considerations, and the most relevant edge cases.
-
Apr 14, 2025
Anyone building a custom contact, quote request or newsletter form in a Hyvä theme regularly forgets one single, inconspicuous hidden field, then wonders about error messages that look like a bug. This article shows how form key CSRF protection works under the hood in Magento and how to wire it up cleanly in phtml templates, AJAX requests with Alpine.js, custom controllers and alongside full page cache, with real code examples from Magento 2.4.8-p4 and PHP 8.4.