Skip to content

Commit 935dd8d

Browse files
author
Andreas Schrammel
committed
✏️ Fix typo
Fix typo in SINGLE_PRODUCT_LAYOUT_HANLDE to SINGLE_PRODUCT_LAYOUT_HANDLE
1 parent 3c59bd5 commit 935dd8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Widget/Model/Widget/Instance.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Instance extends \Magento\Framework\Model\AbstractModel
3434

3535
const PRODUCT_LAYOUT_HANDLE = 'catalog_product_view';
3636

37-
const SINGLE_PRODUCT_LAYOUT_HANLDE = 'catalog_product_view_id_{{ID}}';
37+
const SINGLE_PRODUCT_LAYOUT_HANDLE = 'catalog_product_view_id_{{ID}}';
3838

3939
const PRODUCT_TYPE_LAYOUT_HANDLE = 'catalog_product_view_type_{{TYPE}}';
4040

@@ -188,12 +188,12 @@ protected function _construct()
188188
$this->_specificEntitiesLayoutHandles = [
189189
'anchor_categories' => self::SINGLE_CATEGORY_LAYOUT_HANDLE,
190190
'notanchor_categories' => self::SINGLE_CATEGORY_LAYOUT_HANDLE,
191-
'all_products' => self::SINGLE_PRODUCT_LAYOUT_HANLDE,
191+
'all_products' => self::SINGLE_PRODUCT_LAYOUT_HANDLE,
192192
];
193193
foreach (array_keys($this->_productType->getTypes()) as $typeId) {
194194
$layoutHandle = str_replace('{{TYPE}}', $typeId, self::PRODUCT_TYPE_LAYOUT_HANDLE);
195195
$this->_layoutHandles[$typeId . '_products'] = $layoutHandle;
196-
$this->_specificEntitiesLayoutHandles[$typeId . '_products'] = self::SINGLE_PRODUCT_LAYOUT_HANLDE;
196+
$this->_specificEntitiesLayoutHandles[$typeId . '_products'] = self::SINGLE_PRODUCT_LAYOUT_HANDLE;
197197
}
198198
}
199199

0 commit comments

Comments
 (0)