cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2 add option to catalog product list widget

Highlighted

Magento2 add option to catalog product list widget

What is the best way to add additional option with targeted template to catalog product list widget ?

 

template.JPG

 

There is already template called "Products Grid Template" linked to

 

Magento_CatalogWidget::product/widget/content/grid.phtml

i want to add additional template called "List without button" and that will be linked to this template

 

Magento_CatalogWidget::product/widget/content/without_button.phtml

I can create without_button.phtml and can put it into this path

 

/app/design/frontend/vendor/theme/Magento_CatalogWidget/templates/product/widget/content/without_button.phtml

However how to override the widgets.xml file. I can make changes to vendor folder however it is not a good practice to change default value of magento, so is their any easy way to achieve it or i will have to create custom module for that ?

1 REPLY 1
Highlighted

Re: Magento2 add option to catalog product list widget

Wonder if anyone knows how to do this, I have added a Catalog Products List widget to a block in Magento 2 that is filtered to show products that have a specific attribute. On the frontend they come out in a what seems random price order, is there any way to easily make them ordered Low to High? krogereschedule