Help Center

Problem displaying Checkout? Have a new site?

Since WooCommerce 8.4, the management of cart and checkout pages has shifted to blocks, by default.

These WooCommerce blocks are primarily JS-based so most hooks for PHP templates won’t be triggered.

If you’re planning to craft custom solutions using blocks, I suggest checking the following part of the WooCommerce Blocks repository: https://github.com/woocommerce/woocommerce-blocks/tree/3ad662163e286937eec9be5d27193a7206e3dd5e/docs/third-party-developers/extensibility

Additionally, please note that the shortcodes have not been removed, and you can still revert to using them. For step-by-step instructions, please refer to: https://woo.com/document/cart-checkout-blocks-status/#section-8

Furthermore, there’s a discussion in the development repository specifically about this hook, along with a workaround: https://github.com/woocommerce/woocommerce-blocks/issues/10920

Steps to Resolve:

  • From the left menu in the admin panel go to : Appearance –> Editor –> Pages –> Checkout
  • Following the instructions for “Reverting to shortcodes with WooCommerce 8.3+”: https://woo.com/document/cart-checkout-blocks-status/

Leave a Reply