WooCommerce Germanized: How to change position of T&C checkbox?

The following code is required for the terms and conditions checkbox to land just above the final Complete Order button:

add_action( 'init', 'my_child_move_legal_checkboxes', 50 );
function my_child_move_legal_checkboxes() {
remove_action( 'woocommerce_review_order_after_payment', 'woocommerce_gzd_template_render_checkout_checkboxes', 10 );
add_action( 'woocommerce_gzd_review_order_before_submit', 'woocommerce_gzd_template_render_checkout_checkboxes', 10 );
Without cookies
This website does not use cookies or tracking. More information can be found in the privacy policy.