I want to make changes in "grid.phtml" file which is in the bellow file path at vendor side in Magento 2. path for file which need to override – " module-catalog-widget/view/frontend/templates/product/widget/content/grid.phtml".
With the help of Extension or Theme I want to override this file and want to add changes.
- Thank for helping in advance.
2
Answers
To override this file you can copy this grid.phtml and move it into your theme path will be :
Please generate compile
and don’t forget to clear cache