In the client dashboard>My Orders>View Order there is a print order option, that shows the order in html format. How do I divert the link to be produced by a custom file?
Currently it is being produced by the global file
This any changes I make to this file changes all pages using the file.
The current URL used for the output is:
<?php echo $block->getPrintUrl($_order) ?>
How can I create a new link that will go to my custom file? And where do I put my custom file?