WooCommerce German Market & One Page Checkout

German Market is the perfect WordPress plugin to optimize WooCommerce for the german and austrian market. Unfortunately the plugin is using an additional page during the payment process that is not necessary for the use of an one page checkout. With the following hook in the functions.php file in your themes folder you are able to remove this page.

remove_filter( 'woocommerce_order_button_text', array( 'WGM_Template', 'change_order_button_text' ), 1, 1 );
remove_filter( 'woocommerce_after_checkout_validation', array( 'WGM_Template', 'do_de_checkout_after_validation' ), 1, 1 );