Issue
I have create a custom theme. and I want to override searchlist file.
vendor/magento/module-catalog-search/view/frontend/templates/searchlist.phtml
I move it in
public_html/app/design/frontend/themevendor/theme/Magento_CatalogSearch/
But its render output from vendor. I am new in magento2 so can you suggest me where am i wrong?
Solution
Move your file to your custom theme
public_html/app/design/frontend/../../Magento_CatalogSearch/templates/searchlist.phtml
And not need to deploy your custom theme. only run below command
php bin/magento cache:flush
Answered By - S.P Answer Checked By - Marilyn (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.