- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2017
07:13 AM
02-24-2017
07:13 AM
Load product grid with custom theme with blank theme parent
Hi,
What should I change in my custom theme (with blank theme as parent) to load the products list in the homepage ?
Currently, I'm doing it by adding the following widget to "homepage" content in the back office :
{{widget type="Magento\CatalogWidget\Block\Product\ProductsList" products_count="10" template="product/widget/content/grid.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:``;]]"}}
But I'd like to get the same directly from my custom theme.
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2017
02:50 PM
02-28-2017
02:50 PM
Re: Load product grid with custom theme with blank theme parent
Not exactly sure your question, are you just trying to show it on the homepage?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2017
07:44 PM
03-07-2017
07:44 PM
Re: Load product grid with custom theme with blank theme parent
Yes, I just want to show it on the homepage.