Skip to content

Commit 0732463

Browse files
authored
Update View.php
1 parent d09a804 commit 0732463

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Catalog/Helper/Product

1 file changed

+1
-0
lines changed

app/code/Magento/Catalog/Helper/Product/View.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public function initProductLayout(ResultPage $resultPage, $product, $params = nu
184184
if ($params && $params->getBeforeHandles()) {
185185
foreach ($params->getBeforeHandles() as $handle) {
186186
$resultPage->addPageLayoutHandles(['type' => $product->getTypeId()], $handle, false);
187+
$resultPage->addPageLayoutHandles(['attribute_set' => $product->getAttributeSetId()], $handle, false);
187188
$resultPage->addPageLayoutHandles(['id' => $product->getId(), 'sku' => $urlSafeSku], $handle);
188189
}
189190
}

0 commit comments

Comments
 (0)