Show "cancel order button" in the order tab of my account page and let customers cancel orders directly without administer permission in the order tab of my account page
2. Current situation
At first, "Woocommerce order cancel for customers plugin" was installed into my site. Customers can cancel the order directly in "order detail (my account -> orders -> order detail)" without administer permission.
To optimize user experience, I added the code as below to add a button in orders (my account -> orders). Then, customers can cancel order more easily.
However, after installing "Ultimate members", these code could not work normally. The button could not be shown in orders (my account -> orders).
Please help me revise this code or suggest the other solution.
I checked all 3 points and screenshot you have added with project. Send me admin details so I will start work for you and finish it asap. No issue award and pay me on completion of job. Thank you