I'm adding the widget on a page by going
->Insert Widget ->Widget type-> Catalog Products List
After adding the widget, I can see the template path as 'template="product/widget/content/grid.phtml"'. I'm trying to update this template but working on a wrong file I guess. What is the full path for the template file?
Solved! Go to Solution.
Hi @naveen786,
That file is defined here:
vendor/magento/module-catalog-widget/etc/widget.xml, line 36
(more or less)
The parameter is "template"
<parameter name="template" xsi:type="select" required="true" visible="true"> <label translate="true">Template</label> <options> <option name="default" value="product/widget/content/grid.phtml" selected="true"> <label translate="true">Products Grid Template</label> </option> </options> </parameter>
And the PHTML file is located in:
vendor/magento/module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml
Hi @naveen786,
That file is defined here:
vendor/magento/module-catalog-widget/etc/widget.xml, line 36
(more or less)
The parameter is "template"
<parameter name="template" xsi:type="select" required="true" visible="true"> <label translate="true">Template</label> <options> <option name="default" value="product/widget/content/grid.phtml" selected="true"> <label translate="true">Products Grid Template</label> </option> </options> </parameter>