How hyva-themes/magento2-default-theme works
Hyvä Default Theme is a Magento 2 storefront theme: it supplies page layouts, PHTML views, styling/assets, and browser-side behavior rather than implementing a standalone commerce backend. The primary shopper journey spans catalog discovery, product configuration, cart and checkout, with account and content features alongside it. The tree documents broad Magento feature coverage; sampled sources establish the standalone JavaScript behaviors, while most template-to-layout wiring is not sampled, so those links are intentionally not asserted.
Main entry points: view Product detail · jarallax.js Page Builder effects · Magento_Catalog/templates Catalog browsing · Magento_Cms/templates CMS and widgets
Components 23
Storefront presentation
- Theme registration
registration.php - Shared theme UI
Magento_Theme/templates - Hyvä UI elements
Hyva_Theme/templates - CMS and widgets
Magento_Cms/templates
Commerce journeys
- Catalog browsing
Magento_Catalog/templates - Search and filters
Magento_CatalogSearch/templates - Product detail
Magento_Catalog/templates/product/view - Product type options
Magento_ConfigurableProduct/templates/product/view/type/options/configurable.phtml - Bundle products
Magento_Bundle/templates - Cart
Magento_Checkout/templates - Checkout
Magento_Checkout/layout/checkout_index_index.xml
Customer engagement
- Wishlist
Magento_Wishlist/templates - Product comparison
Magento_Catalog/templates/product/compare - Product reviews
Magento_Review/templates - Customer account
Magento_Customer/templates - Analytics tags
Magento_GoogleTagManager/templates
Browser capabilities
- Page Builder effects
Magento_PageBuilder/web/js/jarallax.js - Background video
Magento_PageBuilder/web/js/jarallax-video.js - Carousel behavior
Magento_PageBuilder/web/js/glider.js - Password strength
web/js/zxcvbn.js
Other components
- Shopper
- Magento platform
- Video providers
Connections 22
- Magento platform → Theme registration: registers theme
registration.php - Shopper → Catalog browsing: browses
- Shopper → Search and filters: searches
- Shopper → Product detail: views product
- Shopper → Cart: manages cart
- Shopper → Checkout: checks out
- Catalog browsing → Product detail: opens detail
- Search and filters → Catalog browsing: filters listings
- Product detail → Product type options: renders options
- Product detail → Bundle products: renders bundles
- Product detail → Cart: adds item
- Shopper → Wishlist: saves items
- Shopper → Product comparison: compares items
- Product detail → Product reviews: shows reviews
- Shopper → Customer account: manages account
- Shared theme UI → Hyvä UI elements: uses elements
- Page Builder effects → Background video: extends parallax
Magento_PageBuilder/web/js/jarallax-video.js - Page Builder effects → Video providers: loads provider video
- CMS and widgets → Page Builder effects: hosts effects
- CMS and widgets → Carousel behavior: hosts carousel
- Customer account → Password strength: checks password
- Analytics tags → Magento platform: emits tracking