If my answer is useful, please Accept as Solution & give Kudos
Hi,
I want to make changes to:
app/design/frontend/YOUR_VENDOR/YOUR_THEME/Magento_Catalog/templates/product/list.phtml
there is no such file:
app/design/frontend/Magento > folder is empty
app/design/frontend/mytheme > no subfolder /Magento_Catalog
Solved! Go to Solution.
Hello @GoodLook ,
Please enable template hint to check file render on frontend. If you still get same place then please run below command in magento root directory via terminal
php bin/magento deploy:mode:set developer php bin/magento setup:static-content:deploy php bin/magento c:c php bin/magento c:f
Let us know if you still get an issue.
--
If my answer is useful, please Accept as Solution & give Kudos
Hello @GoodLook ,
Here is an example of override pthml file
vendor/magento/module-catalog/view/frontend/templates/product/list.phtml
into
app/design/frontend/Magento_Catalog/templates/product/list.phtml
I hope that you will get an idea.
--
If my answer is useful, please Accept as Solution & give Kudos
I created a child template
app/design/fontend/child_v/child_t
where to place the copy of
vendor/magento/module-catalog/view/frontend/templates/product/list.phtml
should I copy the "list.phtml" into
app/design/fontend/child_v/child_t/view/frontend/templates/product/
or
/app/design/frontend/child_v/child_t/Magento_catalog/templates/product/list.phtml
I did some changes but when refresh the page after cache clean and browser cache clean nothing changed
@GoodLook
It has to be the last one, but with capital C in Magento_Catalog
/app/design/frontend/child_v/child_t/Magento_Catalog/templates/product/list.phtml
Cheers,
Hello @GoodLook ,
Please enable template hint to check file render on frontend. If you still get same place then please run below command in magento root directory via terminal
php bin/magento deploy:mode:set developer php bin/magento setup:static-content:deploy php bin/magento c:c php bin/magento c:f
Let us know if you still get an issue.
--
If my answer is useful, please Accept as Solution & give Kudos
If I understand then module-theme should be changed to Magento_Theme
and so for every path displayed by the 'templatehints'
vendor/magento/module-theme/view/frontend/templates/html/title.phtml
to place in
app/design/frontend/child_v/child_t/Magento_Theme/templates/html/title.phtml
same for this folder:
vendor/magento/module-catalog/view/base/templates/product/price
to:
app/design/frontend/child_v/child_t/Magento_Catalog/templates/product/price