I have developed one module in magento-2.1.3. on the name of Shelltag/SalesOrder/. I want to override items.phtml file and default.html from module-sales/ in this. I don't want to edit core file.

So, how to do it?

1 Answer 1


You can override from your theme

For Creating Theme followthis link

after creating your theme just copy paste the below files into your theme.

For Example:



  • ok but how to do it .i want process..iam a newbie to magento and have rare idea to override phtml files so kindly help me to override my both files items.phtml & default along with full steps.like to create xml files and so & so. Commented Feb 22, 2017 at 10:49
  • @YogeshRaghav First you have to know/learn how to create theme. then only you know how to do it this task?
    – Bojjaiah
    Commented Feb 22, 2017 at 10:54
  • well i just want to override my two files items.phtml and default.phtml and not creating child themes for now.iam just asking the procedure..i know we have to create a folder in app/code and put in module.xml file in etc but i have less idea about exact process so kindly help me.its urgent as my company need to shift on magento and we are still in development phase Commented Feb 22, 2017 at 10:59
  • @YogeshRaghav see updated answer.
    – Bojjaiah
    Commented Feb 22, 2017 at 11:22
  • @YogeshRaghav have you done?
    – Bojjaiah
    Commented Feb 22, 2017 at 13:01

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.