We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc6972 commit 88da782Copy full SHA for 88da782
app/code/Magento/Catalog/Controller/Category/View.php
@@ -239,6 +239,7 @@ public function execute()
239
$page->addPageLayoutHandles(['type' => $parentPageType], null, false);
240
}
241
$page->addPageLayoutHandles(['type' => $pageType], null, false);
242
+ $page->addPageLayoutHandles(['displaymode' => strtolower($category->getDisplayMode())], null, false);
243
$page->addPageLayoutHandles(['id' => $category->getId()]);
244
245
// apply custom layout update once layout is loaded
0 commit comments