How to edit order.php file in woocommerce within our theme file

To edit files in my account folder(inside template directory of woocommerce) :

  • Create a “woocommerce” folder inside our theme folder.
  • Create a “myaccount” folder inside our woocommerce folder.
  • Copy “order.php” file inside myaccount.
  • Edit the file.