From b1bb8e1564b44aa771c16362b65aad7409715404 Mon Sep 17 00:00:00 2001 From: Thomas Klein Date: Mon, 12 Aug 2024 23:12:01 +0200 Subject: [PATCH] Fix typo --- view/frontend/layout/hyva_catalog_product_view.xml | 2 +- view/frontend/templates/hyva/product/breadcrumbs.phtml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/view/frontend/layout/hyva_catalog_product_view.xml b/view/frontend/layout/hyva_catalog_product_view.xml index d2c6001..341a339 100644 --- a/view/frontend/layout/hyva_catalog_product_view.xml +++ b/view/frontend/layout/hyva_catalog_product_view.xml @@ -9,7 +9,7 @@ - Opengento_ProductBreadcrumbs::hyvä/product/breadcrumbs.phtml + Opengento_ProductBreadcrumbs::hyva/product/breadcrumbs.phtml diff --git a/view/frontend/templates/hyva/product/breadcrumbs.phtml b/view/frontend/templates/hyva/product/breadcrumbs.phtml index 3415aa6..b8372b9 100644 --- a/view/frontend/templates/hyva/product/breadcrumbs.phtml +++ b/view/frontend/templates/hyva/product/breadcrumbs.phtml @@ -5,7 +5,7 @@ */ declare(strict_types=1); -use Hyvä\Theme\Model\ViewModelRegistry; +use Hyva\Theme\Model\ViewModelRegistry; use Magento\Framework\Escaper; use Magento\Theme\Block\Html\Breadcrumbs as BreadcrumbsBlock; use Opengento\ProductBreadcrumbs\ViewModel\Product\Breadcrumbs as BreadcrumbsConfig; @@ -26,7 +26,7 @@ $config = $viewModels->require(BreadcrumbsConfig::class); function generateProductBreadcrumbsOnProductPage() { isServerSideRendered() || $config->isClientSideOverrideAllowed()): ?> ' . $block->fetchView($block->getTemplateFile('Magento_Catalog::product/view/breadcrumbs.phtml')) . ''; ?> - hyvä.replaceDomElement('#product_breadcrumbs', 'escapeJs($breadcrumbsTemplate) ?>'); + hyva.replaceDomElement('#product_breadcrumbs', 'escapeJs($breadcrumbsTemplate) ?>'); }