I'm trying to make the following URL structure in WooCommerce.
I don't want to use the default myaccount page.
We must have the following structure:
Description: This page will shows a list of all orders made by the currently logged in user. If the user isn't logged in it will show a 404.
Description: This will show the specific order, as long as it was made by the logged in user. If the user is not logged in it will show a 404. If the user did not make that order it will show a 404.
I can not provide access to my wordpress installation, the developer will need to do the work on their own platform and show me via TeamViewer.
I would prefer if it was made using a plugin.
The page should not contain the default "My Account" menu. We want it to display only the order using pure PHP code. (No CSS to hide existing elements).