woocommerce_gzd_product_delivery_time_html Filter
Filter to adjust product delivery time html output.
$htmlstring The delivery time html.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_gzd_product_delivery_time_html", function( $html, $product ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_defect_description Filter
$paramstring
add_filter( "woocommerce_gzd_defect_description", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_germanized_hide_shipping_costs_text Filter
Filter to optionally disable shipping costs info for a certain product.
$disablebool Whether to disable the shipping costs notice or not.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_hide_shipping_costs_text", function( $disable, $product ) {
// Do something
return $disable;
}, 10, 2 );
woocommerce_germanized_disabled_shipping_text Filter
Filter to adjust a product’s disabled shipping costs notice.
$outputstring The output.$product\WC_GZD_Product The product object.
add_filter( "woocommerce_germanized_disabled_shipping_text", function( $output, $product ) {
// Do something
return $output;
}, 10, 2 );
woocommerce_gzd_enable_rating_authenticity_notices Filter
$paramstring
add_filter( "woocommerce_gzd_enable_rating_authenticity_notices", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_small_business_show_total_vat_notice Filter
$parambool
add_filter( "woocommerce_gzd_small_business_show_total_vat_notice", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_checkout_use_legacy_table_replacement_template Filter
$paramstring
add_filter( "woocommerce_gzd_checkout_use_legacy_table_replacement_template", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_disable_wc_privacy_policy_checkbox Filter
Filter to turn on Woo default privacy checkbox in checkout. Germanized disables the default WooCommerce privacy checkbox to replace it with it’s own data privacy checkbox instead.
$enablebool Set to `false` to re-enable Woo default privacy checkbox.
add_filter( "woocommerce_gzd_disable_wc_privacy_policy_checkbox", function( $enable ) {
// Do something
return $enable;
}, 10, 1 );
woocommerce_gzd_differential_taxation_cart_item_mark Filter
Differential taxation mark. Adjust the default differential taxation mark.
$htmlstring The differential mark e.g. `*`.
add_filter( "woocommerce_gzd_differential_taxation_cart_item_mark", function( $html ) {
// Do something
return $html;
}, 10, 1 );
woocommerce_gzd_recalculate_unit_price_cart Filter
$param_1bool$param_2string$param_3string
add_filter( "woocommerce_gzd_recalculate_unit_price_cart", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_unit_price_cart_quantity Filter
$param_1string$param_2string$param_3string
add_filter( "woocommerce_gzd_unit_price_cart_quantity", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_cart_product_deposit_packaging_type_html Filter
Filter that allows adjusting the product deposit packaging type HTML content before outputting within cart.
$packaging_title_htmlstring The HTML content.$cart_itemarray The cart item data.$cart_item_keystring The cart item key.
add_filter( "woocommerce_gzd_cart_product_deposit_packaging_type_html", function( $packaging_title_html, $cart_item, $cart_item_key ) {
// Do something
return $packaging_title_html;
}, 10, 3 );
woocommerce_gzd_cart_product_units_html Filter
Filter that allows adjusting the product units HTML content before outputting within cart.
$product_units_htmlstring The HTML content.$cart_itemarray The cart item data.$cart_item_keystring The cart item key.
add_filter( "woocommerce_gzd_cart_product_units_html", function( $product_units_html, $cart_item, $cart_item_key ) {
// Do something
return $product_units_html;
}, 10, 3 );
woocommerce_gzd_cart_applies_for_photovoltaic_system_vat_exemption Filter
$paramstring
add_filter( "woocommerce_gzd_cart_applies_for_photovoltaic_system_vat_exemption", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_photovoltaic_systems_vat_exemption_legal_data Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_photovoltaic_systems_vat_exemption_legal_data", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_cart_customer_applies_for_photovoltaic_system_vat_exemption Filter
$paramstring
add_filter( "woocommerce_gzd_cart_customer_applies_for_photovoltaic_system_vat_exemption", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_order_contains_photovoltaic_system Filter
Determines whether a photovoltaic system exists in the current order.
$has_photovoltaic_systembool Whether the order includes a photovoltaic system or not.$itemsarray The order items.
add_filter( "woocommerce_gzd_order_contains_photovoltaic_system", function( $has_photovoltaic_system, $items ) {
// Do something
return $has_photovoltaic_system;
}, 10, 2 );
woocommerce_gzd_cart_contains_photovoltaic_system Filter
Determines whether a photovoltaic system exists in the current cart.
$has_photovoltaic_systembool Whether the cart includes a photovoltaic system or not.$itemsarray The cart items.
add_filter( "woocommerce_gzd_cart_contains_photovoltaic_system", function( $has_photovoltaic_system, $items ) {
// Do something
return $has_photovoltaic_system;
}, 10, 2 );
woocommerce_gzd_cart_needs_age_verification Filter
Determines whether a cart needs age verification or not. This filter might adjust whether cart items need age verification or not.
$needs_age_verificationbool Whether items need age verification or not.$itemsarray The cart items.
add_filter( "woocommerce_gzd_cart_needs_age_verification", function( $needs_age_verification, $items ) {
// Do something
return $needs_age_verification;
}, 10, 2 );
woocommerce_gzd_order_age_verification_min_age Filter
Returns the minimum age for certain order items. This filter might be used to adjust the minimum age for a certain order used for the age verification.
$min_ageint The minimum age required to buy.$itemsarray The order items.
add_filter( "woocommerce_gzd_order_age_verification_min_age", function( $min_age, $items ) {
// Do something
return $min_age;
}, 10, 2 );
woocommerce_gzd_cart_age_verification_min_age Filter
Returns the minimum age for a cart. This filter might be used to adjust the minimum age for a certain cart used for the age verification.
$min_ageint The minimum age required to checkout.$itemsarray The cart items.
add_filter( "woocommerce_gzd_cart_age_verification_min_age", function( $min_age, $items ) {
// Do something
return $min_age;
}, 10, 2 );
woocommerce_gzd_cart_main_service_tax_class Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_cart_main_service_tax_class", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_cart_taxes Filter
Filter to adjust the cart tax items.
$tax_arrayarray The array containing tax amounts.$cart\WC_Cart The cart instance.$include_shipping_taxesbool Whether to include shipping taxes or not.
add_filter( "woocommerce_gzd_cart_taxes", function( $tax_array, $cart, $include_shipping_taxes ) {
// Do something
return $tax_array;
}, 10, 3 );
woocommerce_gzd_legal_digital_email_text Filter
Filter to adjust the legal email text for digital products.
$textstring The HTML output.
add_filter( "woocommerce_gzd_legal_digital_email_text", function( $text ) {
// Do something
return $text;
}, 10, 1 );
woocommerce_gzd_legal_service_email_text Filter
Filter to adjust the legal email text for service products.
$textstring The HTML output.
add_filter( "woocommerce_gzd_legal_service_email_text", function( $text ) {
// Do something
return $text;
}, 10, 1 );
woocommerce_gzd_allow_disabling_checkout_adjustments Filter
$parambool
add_filter( "woocommerce_gzd_allow_disabling_checkout_adjustments", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_prevent_checkout_order_review_hook_reset Filter
$parambool
add_filter( "woocommerce_gzd_prevent_checkout_order_review_hook_reset", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_disabled_checkout_adjustments Action
add_action( "woocommerce_gzd_disabled_checkout_adjustments", function( ) {
// Do something
}, 10 );
woocommerce_gzd_get_product_variation_{$prop} Filter
Filter to adjust a certain product variation property e.g. unit_price. The dynamic portion of the hook name, `$prop` refers to the product property e.g. unit_price.
$valuemixed The property value.$gzd_product\WC_GZD_Product_Variation The GZD product instance.$product\WC_Product_Variation The product instance.$contextstring The context
woocommerce_gzd_get_product_variation_unit Filter
This filter is documented in includes/class-wc-gzd-product-variation.php
$param_1string$param_2string$param_3string
add_filter( "woocommerce_gzd_get_product_variation_unit", function( $param_1, $param_2, $param_3 ) {
// Do something
return $param_1;
}, 10, 3 );
woocommerce_gzd_deposit_packaging_types Filter
$paramarray
add_filter( "woocommerce_gzd_deposit_packaging_types", function( $param ) {
// Do something
return $param;
}, 10, 1 );
woocommerce_gzd_deposit_packaging_type_title Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_deposit_packaging_type_title", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_small_business_product_notice Filter
Filter to adjust the small business product notice.
$htmlstring The notice.
add_filter( "woocommerce_gzd_small_business_product_notice", function( $html ) {
// Do something
return $html;
}, 10, 1 );
woocommerce_gzd_digital_product_types Filter
Filter to allow adjusting which product types are considered digital types. Digital product types are used to check whether a possible revocation exempt exists or not.
$typesarray The product types.
add_filter( "woocommerce_gzd_digital_product_types", function( $types ) {
// Do something
return $types;
}, 10, 1 );
woocommerce_gzd_product_is_revocation_exempt Filter
Filter that allows adjusting whether a certain product is a revocation exempt in terms of a certain type (e.g. digital or service).
$is_exemptbool Whether the product is an exempt or not.$product\WC_Product The product object.$typestring The exempt type e.g. digital or service.$context_objectobject E.g. the cart item or order item
add_filter( "woocommerce_gzd_product_is_revocation_exempt", function( $is_exempt, $product, $type, $context_object ) {
// Do something
return $is_exempt;
}, 10, 4 );
woocommerce_gzd_recalculated_unit_prices Filter
Filter to adjust unit price after a recalculation happened.
$pricesarray The price data.$product\WC_GZD_Product The product object.$argsarray Additional arguments.
add_filter( "woocommerce_gzd_recalculated_unit_prices", function( $prices, $product, $args ) {
// Do something
return $prices;
}, 10, 3 );
woocommerce_gzd_product_review_is_verified Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_review_is_verified", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_product_rating_is_verified Filter
$param_1string$param_2string
add_filter( "woocommerce_gzd_product_rating_is_verified", function( $param_1, $param_2 ) {
// Do something
return $param_1;
}, 10, 2 );
woocommerce_gzd_legal_product_rating_authenticity_text Filter
Filter to adjust the legal product rating authenticity text for products.
$textstring The HTML output.$product_idint
add_filter( "woocommerce_gzd_legal_product_rating_authenticity_text", function( $text, $product_id ) {
// Do something
return $text;
}, 10, 2 );
woocommerce_gzd_legal_product_review_authenticity_text Filter
Filter to adjust the legal product review authenticity text for a single review.
$textstring The HTML output.$verifiedbool$comment_idint
add_filter( "woocommerce_gzd_legal_product_review_authenticity_text", function( $text, $verified, $comment_id ) {
// Do something
return $text;
}, 10, 3 );
woocommerce_gzd_shortcode_product_unit_price_html Filter
Filter shortcode product unit price output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_unit_price_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_shortcode_product_units_html Filter
Filter shortcode product unit output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_units_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_shortcode_product_delivery_time_html Filter
Filter shortcode product delivery time output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_delivery_time_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_shortcode_product_tax_notice_html Filter
Filter shortcode product tax notice output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_tax_notice_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_shortcode_product_safety_information_html Filter
Filter shortcode product safety information output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_safety_information_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_shortcode_product_safety_attachments_html Filter
Filter shortcode product safety attachments output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_safety_attachments_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );
woocommerce_gzd_shortcode_product_safety_instructions_html Filter
Filter shortcode product safety instructions output.
$htmlstring The output.$attsarray The shortcode arguments.
add_filter( "woocommerce_gzd_shortcode_product_safety_instructions_html", function( $html, $atts ) {
// Do something
return $html;
}, 10, 2 );