I'm trying to customize the order detail page that the customer see in his/her account.

What I did is that I copied:




And added some test modifications in there but nothing showed up on the website and it continues to use the original view.phtml

I tried clearing all cache and deploying static content with no luck.

When I enable Template Path Hints for Storefront in the admin and access the order details page, it's still showing that it's using the original view.phtml and not the customized one

Can you please help me with this problem?

2 Answers 2


When overriding templates your files should be in :


you should not add view/frontend/ folders. All your templates should be in


It always suggested that we must inherit the patent theme if it is created than you must work in child themes or if it is not created WE MUST CREATE a child them

To inherit the parent or Magento core theme follow Theme inheritance .

Once we go through the above document we can customize any page.Rule appies to all the phtml files.

You already know how to debug as mentioned that you found the path still i am sharing this link How to debug the theme

Magento 2 Basic layouts

  • Thanks for the pointer and the links provided. However, I'm already working on a child theme that I have created based on another premium theme that I have bought. Mar 26, 2018 at 7:21
  • 1
    happy to hear , always available to help.
    – inrsaurabh
    Mar 26, 2018 at 7:23

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.