Hi,
What is the best approach or way to add Custom or Additional template for Widget "Catalog Products List". Right now default template can be customize by override this path
<Vendor>/<YourTheme>/Magento_CatalogWidget/templates/product/widget/content/grid.phtml
code for that path is
<parameter name="template" xsi:type="select" required="true" visible="true">
<label translate="true">Template</label>
<options>
<option name="default" value="Magento_CatalogWidget::product/widget/content/vipps.phtml" selected="true">
<label translate="true">Products Vipps Templates</label>
</option>
</options>
</parameter>
which is defined in widget.xml under vendor/magento/module-catalog-widget/etc.
However if i want to add additional template to this widget, so how will i do acheive this, since its not good to change anything on vendor, so do i need a custom widget to achieve it or what else method i should use ?
For example i want to add new template to widget "Catalog products list" and its path will be
<Vendor>/<YourTheme>/Magento_CatalogWidget/templates/product/widget/content/custom_grid.phtml