Skip to content
Blog category

Hyvä Theme

Hyvä theme migration, Tailwind + Alpine.js patterns, extension compatibility, Hyvä Checkout customization.

Start with the starter guide

10 articles Jul 23, 2026 latest post RSS feed

Tags here: #Hyvä #Alpine.js #Tailwind #Extension Compatibility #Frontend #Magento 2

Hyvä Theme category art

10articles Jul 23, 2026latest post

Start here

12 min read

Hyvä Checkout Custom Field: A Working Delivery-Date Example

Most Hyvä checkout customization tutorials stop at "render a field" and skip the backend plumbing that actually persists the value to the order. Here is a complete, copy-pasteable delivery_date field for Hyvä Checkout 1.2+ on Magento 2.4.4-2.4.9: the Magewire vs Alpine.js decision tree, the extension_attributes.xml declaration, the Magewire component class, the date input partial with HTML5 min/max constraints, the QuoteRepository save plugin, and the admin sales_order_view.xml display. Plus the gotcha that breaks guest checkouts: the date does not survive submitQuote without a second plugin.

Read the guide

Latest in Hyvä Theme

Page 1 of 1, newest first
  • Hyvä Theme

    Hyvä Checkout Customization: 5 Real Patterns from Production Stores

    Five Hyvä Checkout customizations that actually shipped on production Magento 2.4.4-2.4.9 stores: what the merchant asked for, what was tricky, and the code shape. Google Places address autocomplete bound to the Magewire shipping component via an Alpine.js bridge. CPF for Brazil / VAT for the EU as reactive Magewire fields with wire:model.live. Runtime carrier filtering through a collectShippingRates plugin. A post-purchase upsell Magewire component on the success page with one-click PayPal Express. Locale-aware date pickers via the Hyvä i18n partial. For each: the trigger, the file shape, the gotcha.

  • Hyvä Theme

    Check a Magento Module for Hyvä Compatibility Before You Migrate

    Before or during a Hyvä migration, decide for each storefront module whether it needs no work, an existing compatibility module, a new one, a Luma fallback or a replacement. This guide covers the Hyvä Compatibility Module Tracker, what to inspect in the module source, what any automated scanner can and cannot detect, and the staging render test that gives the final answer.

  • Hyvä Theme

    10 Alpine.js Patterns Every Hyvä Developer Needs

    Generic Alpine.js docs do not tell you how to wire cart counts from PHP, why x-cloak is non-negotiable on PDP swatches, or how $dispatch lets an Alpine.js drawer talk to a Magewire form without a refresh. After shipping 40+ Hyvä modules across Magento 2.4.4-2.4.9, the same 10 patterns appear in nearly every one. This post walks through each, x-data hydrated from PHP, x-cloak flash-prevention, $store cross-component state, x-bind:class active tabs, x-on:click.outside drawers, x-intersect lazy loads, x-show transitions, x-html with DOMPurify, x-init with $watch + localStorage, and $dispatch for Magewire, with copy-pasteable snippets, when-to-reach-for-it notes, and the trap that bites first-time Hyvä devs.

  • Hyvä Theme

    Hyvä Checkout Custom Field: A Working Delivery-Date Example

    Most Hyvä checkout customization tutorials stop at "render a field" and skip the backend plumbing that actually persists the value to the order. Here is a complete, copy-pasteable delivery_date field for Hyvä Checkout 1.2+ on Magento 2.4.4-2.4.9: the Magewire vs Alpine.js decision tree, the extension_attributes.xml declaration, the Magewire component class, the date input partial with HTML5 min/max constraints, the QuoteRepository save plugin, and the admin sales_order_view.xml display. Plus the gotcha that breaks guest checkouts: the date does not survive submitQuote without a second plugin.

  • Hyvä Theme

    Step-by-Step Hyvä Compatibility: Porting Mageplaza Layered Navigation

    Most Hyvä compatibility tutorials stop at "install hyva-themes/magento2-default-theme and pray". This one ports a real Luma-only filter extension, Mageplaza Layered Navigation, to Hyvä across five concrete phases with diffs at every step. Phase 1: composer require the compat-module shell. Phase 2: copy the phtml and strip Knockout data-bind. Phase 3: rebuild the live-filter UI in Alpine.js against the existing Magento AJAX endpoint. Phase 4: swap Luma selectors for Tailwind utility classes that follow the Hyvä theme tokens. Phase 5: a Magewire wire-up for the count badges that need server-side reactivity. Plus a decision matrix on when to ditch the port and buy the Hyvä Catalog Add-on instead.

  • Hyvä Theme

    Luma Module Not Working in Hyvä: Diagnose the Symptom, Then Choose a Fix

    A module that worked on Luma is installed and something on the Hyvä storefront is broken: a missing block, script errors, an inert widget or a missing checkout field. This guide matches the symptom to the failing layer on a staging copy, then compares the realistic fixes: an existing compatibility module, your own compatibility module with Alpine.js and Tailwind, a route-level Luma fallback, or replacing the module.

Stuck on this? Share the issue or question Ask about your store