Gå til hovedindhold
WooCommerce

Compatibility

WooCommerce feature and plugin compatibility for the Aldersverificering WooCommerce plugin.

Compatibility

WooCommerce Blocks (Cart & Checkout)

The plugin fully supports the WooCommerce block-based checkout (default since WooCommerce 8.3). Age verification is enforced via the Store API woocommerce_store_api_checkout_order_processed hook — the same server-side JWT validation runs whether the customer uses classic or block checkout.

The plugin declares cart_checkout_blocks compatibility.

High-Performance Order Storage (HPOS)

The plugin is compatible with WooCommerce High-Performance Order Storage (custom order tables). It declares custom_order_tables compatibility via FeaturesUtil::declare_compatibility().

WPML and Polylang

When WPML or Polylang is active, the plugin automatically resolves each cart item to the source-language product before reading age gate settings. This is necessary because translated products are stored as separate posts — age gate meta is written only to the original post.

No extra configuration is required.

WooCommerce Subscriptions

For subscription products, age verification is required at the initial checkout when the subscription is created. Automatic renewal orders are processed server-side without a browser session and do not go through the standard checkout hooks — they do not require re-verification.

This is the expected behaviour: the customer verified their age when they first subscribed.

Page builders (Elementor, Divi, and others)

No conflicts are known with common page builders. The plugin does not modify the checkout template directly — it uses standard WooCommerce hooks. Custom checkout layouts built with page builders are compatible as long as they use WooCommerce's native form rendering.

Payment gateways

Age verification runs before payment processing — it is enforced in woocommerce_checkout_process (classic) and woocommerce_store_api_checkout_order_processed (Blocks). The order is only created after the token is validated. This is compatible with all standard WooCommerce payment gateways including Stripe, PayPal, Nets, and QuickPay.

Classic vs. block product editor

Both the classic product editor and the newer block-based product editor are supported. The Age Verification meta box appears in the sidebar of both editors.

On this page