I am trying to add a review page to my Woocommerce web store. Currently, when I add items to the cart, I can go to the checkout page where billing and delivery addresses are required and sent, and then the next step is the "Payment" page (with PayPal). I want to add an order verification page before it goes to the "Payment" page, therefore, after the addresses are entered on the verification page and clicked on by the user, a page with a description and overview of orders should be displayed with the results of the order, and the addresses entered earlier , and a link to return if ten users want to change the address. Like a confirmation page. Then, as soon as the user continues to work, he will go to the payment page.
I researched this with no luck. I tried this action in functions.php , but it does not work:
add_action( 'woocommerce_review_order_before_submit','woocommerce_order_details_table');
Is there a way to do this using woocommerce? There are also no settings for the control panel.
source share