How do I switch the storefront over to Hyvä after installing it?
To activate the Hyvä theme on a Magento 2 store, open Content > Design > Configuration in the admin. Set Applied Theme to hyva/default on your store view, then redeploy and flush the cache. Until you do, customers keep seeing Luma, Magento’s default theme, even though you’ve installed the Hyvä package. Hyvä also needs the legacy captcha and Magento’s minification turned off, or customer forms break.
Quick answer
Hyvä replaces Luma on Magento 2 once you assign hyva/default per store view and set a Website theme. Disable the legacy captcha with customer/captcha/enable 0 and turn off Magento’s JS, CSS and HTML minification and bundling. Confirm Hyvä’s required GraphQL modules are enabled, and pick Hyvä Checkout or the Luma checkout fallback. Production mode then needs setup:static-content:deploy and cache:flush.
Steps to switch to the Hyvä theme
Step 1: Activate the Hyvä theme at the right scope
Open Content > Design > Configuration in the admin. Click Edit on the store view where you want to activate the Hyvä theme. Under Default Theme, set Applied Theme to hyva/default or your Hyvä child theme, then save. Hyvä’s requirements list Magento 2.4.4-p9, 2.4.5-p8, 2.4.6-p7, 2.4.7-p1 or higher. Hyvä drops support for 2.4.4 and 2.4.5 in 2027.
Check the Website row as well. Hyvä’s getting started guide warns against setting Hyvä on a store view while the Website stays on No Theme. Set any theme at Website level, Luma included, and the problem goes away.

On a real project, apply a Hyvä child theme instead of hyva/default. Your customizations then survive updates to the default theme. Build the child theme’s Tailwind CSS before you deploy, or your styling changes won’t reach the storefront.
Step 2: Disable the legacy Magento captcha
Hyvä doesn’t support Magento’s built-in captcha, and Magento enables it by default. Left on, it stops customer forms from working. Turn it off:
bin/magento config:set customer/captcha/enable 0
For bot protection, use Google reCAPTCHA v3 invisible, v2 invisible, or v2 “I’m not a robot”. Hyvä’s getting started guide lists all three as supported.
Step 3: Turn off Magento minification and bundling for Hyvä
Run these for every store view on Hyvä:
bin/magento config:set dev/template/minify_html 0
bin/magento config:set dev/js/merge_files 0
bin/magento config:set dev/js/enable_js_bundling 0
bin/magento config:set dev/js/minify_files 0
bin/magento config:set dev/js/move_script_to_bottom 0
bin/magento config:set dev/css/merge_css_files 0
bin/magento config:set dev/css/minify_files 0
Hyvä’s docs recommend this because Magento’s own minification and bundling add overhead on Hyvä sites.
Step 4: Enable the GraphQL modules Hyvä needs
Hyvä uses parts of Magento’s GraphQL API. Stores that previously ran Luma often have unused GraphQL modules disabled. Run bin/magento module:status against the module list in Hyvä’s docs. Enable anything that shows as disabled, then run setup:upgrade.
Step 5: Choose a checkout that works with Hyvä
The default Magento checkout depends on RequireJS, Knockout and jQuery, which a Hyvä page doesn’t load. You have two routes. Hyvä’s Luma checkout FAQ recommends Hyvä Checkout. The other route is the Luma checkout module, which serves checkout through a Luma-based fallback theme:
composer require hyva-themes/magento2-luma-checkout
bin/magento setup:upgrade
Step 6: Deploy static content and flush the cache
What you need after you activate the Hyvä theme depends on Magento’s deploy mode:
| Deploy mode | What to do |
|---|---|
| Developer | Hyvä shows straight away. Run bin/magento cache:flush if it doesn’t. |
| Production | Run bin/magento setup:static-content:deploy with your locales, then cache:flush. |
| Default | Enable each new module with bin/magento module:enable. Hyvä advises never running a store in default mode. |
The production sequence looks like this:
bin/magento setup:static-content:deploy en_US
bin/magento cache:flush
Add every locale your store views use to the deploy command.
Check these before you switch to the Hyvä theme on a live store
- Do the switch on staging first. A Luma-only mega menu or product slider extension will render broken until it has a Hyvä compatibility module.
- Build your child theme’s Tailwind CSS on development or staging, never on production. The compiler needs Node.js 20 or newer
- Store views still on Luma should keep minification and bundling enabled.
- After the switch, submit every customer form yourself: login, account creation, password reset and contact.
When it takes more work to switch to the Hyvä theme
On a clean Magento 2 install, you can usually activate the Hyvä theme with config changes alone. The real work tends to show up in checkout and in the extension audit. If your store relies on a custom checkout or a long list of Luma-only extensions, plan those first. Our Hyvä theme development team can help scope that work before you go live.
Related Answers
Still need help?
Talk to our Hyvä experts
Switched to Hyvä and a form, extension or checkout page broke? Our engineers can track down the cause.