I want to override the phtml viewed_list.phtml file but I have not had any results, the file comes from the vendor folder:


I want to modify part of the code and the adjustments are not seen, it does not enter, creating the file:


any idea why the changes are not visible?


  • make sure theme in which you are overriding file is active and flush cache Or if you are in production mode, need to do content deploy as well!
    – Pawan
    Sep 7, 2021 at 3:56
  • Thanks for the comment but the theme is active, i flush cache and execute bin/magento setup:static-content:deploy -f but does not work Sep 7, 2021 at 17:00

1 Answer 1


You are looking for the wrong file, The template file for the recently viewed product is below.


Override above file in the theme in below path.

  • Thanks it works, i need to add a new discount price, can i do it with k.o. template? Sep 7, 2021 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.