cancel
Showing results for 
Search instead for 
Did you mean: 

/Magento_Catalog/templates/product/list.phtml not found?

SOLVED

/Magento_Catalog/templates/product/list.phtml not found?

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

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: /Magento_Catalog/templates/product/list.phtml not found?

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

 

 

 

View solution in original post

6 REPLIES 6

Re: /Magento_Catalog/templates/product/list.phtml not found?

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

 

Re: /Magento_Catalog/templates/product/list.phtml not found?

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

 

Re: /Magento_Catalog/templates/product/list.phtml not found?

@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, 

Re: /Magento_Catalog/templates/product/list.phtml not found?

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

 

 

 

Re: /Magento_Catalog/templates/product/list.phtml not found?

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

 

Re: /Magento_Catalog/templates/product/list.phtml not found?

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