Hi everyone, I know there are many threads relating to this, but I have looked through many of them and I cannot find a solution to my problem.
I need to override this template: /var/www/html/magento/vendor/magento/module-sales/view/frontend/templates/order/info.phtml
I have created a custom module called Vendor_Sales
Inside the Sales module, I have the following two files:
<!-- Remove the original Contact Form -->
<referenceBlock name="Magento\Sales\Block\Order\Info" remove="true"/>
<!-- Add a custom Contact Form -->
<block class="Magento\Sales\Block\Order\Info" name="sales" template="Vendor_Sales:rder/info.phtml" />
Which is the template that I have edited.
My problem is that the template is not changing and I do not know why. I also have all the other files required for a custom module such as module.xml, routes.xml, and registration.php. I do not believe they are necessary? Any help would be appreciated.