php – using custom pages for myaccount in woocommerce
at the moment I’m trying to use custom pages for “my account/dashboard page”. This worked fined since now as I use Shoplentor(woolentor) which lets me add widgets for that use. Anyways I’m struggling since when i’m on my order overview and try to view the order, it always shows me a fixed order overview wether its the order id 6557 or whatever. My structure atm is as following:
/myaccount , myaccount/orders, myaccount/mascots, myaccount/address and logout
This is the orders table:
When I press on view I get on the default myaccount page set in woocommerce settings. This consists only of the order details widget of woolentor.
So my Problem at the moment is, that it uses a fixed order, which I can’t understand. It doesn’t show they order of they given order id as example:
https://www.xdaysleft-wear.com/accounts/view-order/6267/
I’m using the default woocommerce endpoints.
Hope someone can help me bc this drives me crazy.
Leave an answer