Chat on WhatsApp

How does Claude Code handle Hyvä theme inheritance and child themes?

Claude Code reads your full theme stack — vendor/hyva-themes/magento2-default-theme (parent), app/design/frontend/<Vendor>/<child-theme>, plus any reset / brand layer in between. When asked to override a phtml, it follows Magento’s fallback rules: it places the new file in your child theme’s correct module path (e.g. app/design/frontend/Brand/child/Magento_Catalog/templates/product/list.phtml) without editing the Hyvä vendor file. It also respects theme.xml parent declarations and won’t accidentally break the inheritance chain.

Was this helpful?