Cart hook placement reference

The settings labels map to these classic WooCommerce hook areas:

Setting Typical position
Before cart Before the cart form and table
Before cart table Immediately before the cart table
Before cart contents At the start of table contents
Cart contents Within the cart contents section
Cart coupon In the coupon/action area
After cart contents At the end of table contents
After cart table Immediately after the cart table
Cart collaterals In the collaterals area
Before cart totals Before the totals table
Cart totals before shipping Before shipping rows
Before shipping calculator Before the calculator
After shipping calculator After the calculator
Cart totals after shipping After shipping rows
Cart totals before order total Before the final total
Cart totals after order total After the final total
Proceed to checkout In the checkout-action area
After cart totals After the totals block
After cart After the complete cart

Actual markup depends on the active WooCommerce template and theme overrides. A hook can be moved or omitted by an overridden template.

Verify placement

Add a short unique marker to one field at a time. Test:

  • a cart with one simple product;
  • a variation;
  • a coupon;
  • calculated shipping;
  • narrow and wide layouts.

Remove the marker after confirming the intended location. Avoid adding interactive controls inside table markup without validating HTML structure and keyboard behavior.