Docs

WooCommerce Checkout Integration

2 min readUpdated April 20, 2026

WP Smart Consent supports both WooCommerce checkout types — the Block Checkout and the Shortcode Checkout — and both can be active simultaneously. Which one your store uses depends on how your checkout page is built.

The Difference Between Them#

Block Checkout is WooCommerce’s modern checkout, built with the WordPress block editor (Gutenberg). It’s the default on new WooCommerce installations and is configured entirely inside the block editor. Because it’s a self-contained block system, it doesn’t play well with page builders like Bricks, Elementor, or Divi — those builders can’t edit the block checkout directly.

Shortcode Checkout is the classic checkout, rendered by placing the [woocommerce_checkout] shortcode on a page. Because it’s just a shortcode on a standard WordPress page, it works with any page builder. If you’ve customized your checkout with Bricks, Elementor, or a similar tool, you’re almost certainly using the shortcode checkout.

The two integrations use different approaches under the hood because the two checkout types work very differently.

Block Checkout — WP Smart Consent registers itself using WooCommerce’s official IntegrationInterface API, which is the sanctioned way for plugins to add content to the block checkout. This is why the checkbox appears reliably regardless of block order or plugin load sequence — it’s rendered through WooCommerce’s own extension system, not injected after the fact.

Shortcode Checkout — WP Smart Consent hooks into woocommerce_checkout_before_order_review to inject the checkbox above the order review and payment section. This is a standard WooCommerce action hook available in the shortcode checkout template.

Which One Should You Enable#

Enable whichever matches your checkout setup. If you’re not sure which you’re using, go to your checkout page and look at how it was built — if it’s a Gutenberg page with a Checkout block, enable Block Checkout. If it was built with a page builder or uses the classic editor, enable Shortcode Checkout.

Both integrations are independent toggles in the dashboard, and both can be enabled at the same time if you have a setup where both checkout types are in use.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only