WooCommerce has ample totally different hooks for their product pages, cart page & checkout page. These hooks help us to add our content in several places on these pages. Here we have a tendency to discuss WooCommerce checkout page hooks.
1. woocommerce_before_checkout_form
The woocommerce_before_checkout_form hook is defined before the checkout form. It is placed above the coupon field on the checkout page.
2. woocommerce_checkout_before_customer_details
The woocommerce_checkout_before_customer_details hook is defined in the checkout form just before the customer details.
3. woocommerce_before_checkout_billing_form
The woocommerce_before_checkout_billing_form hook is defined before the start of the billing form.
4. woocommerce_after_checkout_billing_form
The woocommerce_after_checkout_billing_form hook is defined after the completion of the billing form.
5. woocommerce_before_checkout_shipping_form
The woocommerce_before_checkout_shipping_form hook is defined just before the start of the shipping form.
6. woocommerce_after_checkout_shipping_form
The woocommerce_after_checkout_shipping_form hook is defined after the completion of the shipping form.
7. woocommerce_before_order_notes
The woocommerce_before_order_notes hook is defined before the order notes field on the checkout page.
8. woocommerce_after_order_notes
The woocommerce_after_order_notes hook is defined after the order notes field on the checkout page.
9. woocommerce_checkout_after_customer_details
The woocommerce_checkout_after_customer_details hook is placed after the completion of the customer details i.e after the billing & shipping fields.
10. woocommerce_checkout_before_order_review
The woocommerce_checkout_before_order_review hook is defined before the order details on the checkout page.
11. woocommerce_review_order_before_cart_contents
The woocommerce_review_order_before_cart_contents hook is defined inside the order table body before the content.
12. woocommerce_review_order_after_cart_contents
The woocommerce_review_order_after_cart_contents hook is defined inside the order table body after all the content.
13. woocommerce_review_order_before_shipping
The woocommerce_review_order_before_shipping hook is defined before the shipping section in the order table.
14. woocommerce_review_order_after_shipping
The woocommerce_review_order_after_shipping hook is defined after the shipping section in the order details table.
15. woocommerce_review_order_before_order_total
The woocommerce_review_order_before_order_total hook is defined before the total section & after the shipping section in the order details table.
16. woocommerce_review_order_after_order_total
The woocommerce_review_order_after_order_total hook is defined after the total section & in the order details table.
17. woocommerce_review_order_before_payment
The woocommerce_review_order_before_payment hook is defined before the payment methods section on the checkout page.
18. woocommerce_review_order_before_submit
The woocommerce_review_order_before_submit hook is defined before the “Place Order” button on the checkout page.
19. woocommerce_review_order_after_submit
The woocommerce_review_order_after_submit hook is defined after the “Place Order” button on the checkout page.
20. woocommerce_review_order_after_payment
The woocommerce_review_order_after_payment hook is defined after the whole payment section including the “Place Order” button.
21. woocommerce_checkout_after_order_review
The woocommerce_checkout_after_order_review hook is defined after the order review section on the checkout page which includes the order details table & payment section.
22. woocommerce_after_checkout_form
The woocommerce_after_checkout_form hook is defined at the end after the checkout form.
Here we discuss Woocommerce checkout page hooks so, as per your requirement you can find the Woocommerce checkout page hooks quickly and easily by seeing their actual locations. Also, you can easily copy and paste. Do you have any questions related to the Woocommerce checkout page hooks than feel free to contact us? We are experiencing a woocommerce developer at Lathiya Solutions Surat. We are happy to help solve your query.