From f52953e5e04ef01d96d052f8f52ae5c97a68e8da Mon Sep 17 00:00:00 2001 From: ah-net <103565001+ah-net@users.noreply.github.com> Date: Thu, 14 Dec 2023 13:56:54 +0100 Subject: [PATCH] Fix bug with undefined index --- view/frontend/templates/layer/state.phtml | 24 ++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/view/frontend/templates/layer/state.phtml b/view/frontend/templates/layer/state.phtml index 2e5a7d2e..afd3a668 100644 --- a/view/frontend/templates/layer/state.phtml +++ b/view/frontend/templates/layer/state.phtml @@ -13,7 +13,7 @@ ?> getActiveFilters() ?> - +
escapeHtml(__('Now Shopping by')) ?>
    -
  1. - escapeHtml(__($_filter->getName())) ?> - escapeHtml($block->stripTags($_filter->getLabel())) ?> - escapeHtmlAttr(__($_filter->getName()) . " " . $block->stripTags($_filter->getLabel())); ?> - "> - escapeHtml(__('Remove This Item')) ?> - -
  2. + +
  3. + escapeHtml(__($_filter->getName())) ?> + escapeHtml($block->stripTags($_filter->getLabel())) ?> + escapeHtmlAttr(__($_filter->getName()) . " " . $block->stripTags($_filter->getLabel())); ?> + "> + escapeHtml(__('Remove This Item')) ?> + +
  4. +