Skip to content

Commit

Permalink
Fixed broken widget on the homepage in Magento 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayatsyuk committed May 28, 2019
1 parent 341594b commit e9228fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Upgrades/1.0.0_initial_installation.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ public function getCmsBlocks()
'identifier' => 'featured',
'is_active' => 1,
'content' => <<<HTML
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Featured Products" products_count="10" template="product/featured.phtml" conditions_encoded="a:1:[i:1;a:4:[s:4:`type`;s:50:`Magento|CatalogWidget|Model|Rule|Condition|Combine`;s:10:`aggregator`;s:3:`all`;s:5:`value`;s:1:`1`;s:9:`new_child`;s:0:``;]]"}}
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Featured Products" products_count="10" template="product/featured.phtml" conditions_encoded="^[`1`:^[`type`:`Magento||CatalogWidget||Model||Rule||Condition||Combine`,`aggregator`:`all`,`value`:`1`,`new_child`:``^]^]" type_name="Catalog Products List"}}
HTML
]
];
Expand Down

0 comments on commit e9228fb

Please sign in to comment.