So I am wanting to put something on the sales history or customer dashboard about if they don't see an order, to let us know. Want to do this because when guests place an order and then make an account afterwards it doesn't show in their history.
I think the file to make the change is vendor/magento/module-sales/view/frontend/templates/order/history.phtml
Is this correct? Obviously I will end up putting it in my theme, just want to make sure this is the correct file and that this is the best way of doing something like this.
Greetings to you!
If you need to change in sales order then,
app/design/frontend/Your/theme/Magento_Sales/templates/order/history.phtml(if custom theme).
If you want to add any column in sales order you don't need to override file.
1. create the 'sales_order_history.xml nd add addtional column header to sales.order.history.extra.column.header block and render column data using sales.order.history.extra.container block
2. Create one phtml file and add content.
Hope this will help you to solve your issue.
If not, feel free to reach out to us.
Solved? Click KUDOS and accept it as a solution.
you can check this url